Google Authorisation
Instructions on how to set up authorisation via Google
Go to Google Console -> APIs & Services -> Credentials.
Sign in to your Google Account.
Click "Create project" -> fill in the required fields -> click "Create."
On the "Credentials" page, click "Configure consent screen" -> для "User type" or "User type," select "External" -> click "Create".
In the "OAuth consent screen" step, fill in the required fields "App name" and select "User support email" -> in the "Authorized domains" section below, click "Add domain" and enter your website's domain -> in "Developer contact information," enter an email -> click "Save and continue".
On the "Scopes" step, click "Add or remove scopes" -> select items as shown in the screenshot (ou may add other OAuth 2.0 scopes for Google APIs as needed. Check instruction) -> click "Save and Continue".
On the "Test users" step, you can leave it unchanged or add users for testing if needed. Initially, the status will be set to "Testing" -> change the status to "In production" (more details available via link) -> click "Save and continue".
On the "Summary" step, you’ll see a summary based on the completed information.
Return to the "Credentials" tab -> click "Create credentials" -> select"OAUTH Client ID".
On the opened page, select "Web application" for "Application type" -> enter a name -> click "Add URL" -> add the link as shown below -> click "Create"
https://www.yourdomain.net/service/auth/google/callbackCopy the Client ID and Client secret from Google Console -> go to the BoxExchanger admin panel -> "Authorization System" page -> in the "google" authorization method, paste the Client ID and Client secret into the corresponding fields -> toggle the switch to the active position.
In the admin panel, go to the "Site Settings" page -> "Server" section -> click "Reboot" next to the two "api-http" processes.
As a result, the Google authorization method will be available for clients on the login and registration screen.
Last updated