This section describes how to configure authentication with OAuth2 to Google Drive in the Google Drive Upload/Download component.
To configure OAuth2 settings, Google Drive uses GCP.
Proper knowledge of GCP is required to configure it correctly.
Please contact Google for GCP if you are not sure how to configure it in detail.
1. how to set up access to Google Drive
Flow of setting up
Follow the steps below to set up in GCP.
1-1. Enable Google Drive API from the library of API service.
Select Library from the API service menu.
Select Google Drive API and enable it.
1-2. Select “External” from the OAuth agreement screen menu and press the Create button.
1-3. register your Google account email address for the test user.
1-4. Confirm the registered information in the Summary.
1-5. Click Create Authentication Information from the Authentication Information menu and select OAuth 2.0 Client ID.
For the application type, select “Web Application” and give it a name. Add “http://127.0.0.1:48888/callback” to the authenticated redirect URI and save it.
Check the OAuth2.0 Client ID2 saved data from the Authentication Information menu. The Client ID, Client Secret ID, and the authorized redirect URI will be displayed, so please note them down for use in the component. h4.
With the above settings, the publish status is “test” and the mode is only available to test users. By setting this mode to “Public”, it can be used by non-test users. Please contact Google if you have any questions on how to configure the settings in detail. Please note that we may not be able to provide support for individual GCP configurations.
Now that you have the client ID, client secret ID, and approved redirect URI required for OAuth 2.0, the preliminary preparations are complete.
Need more help with this?
Join our slack community for help