Google Authorisation

Instructions on how to set up authorisation via Google

  1. Go to Google Console -> APIs & Services -> Credentials.

  2. Sign in to your Google Account.

  3. Click "" -> the required fields -> click "Create."

  4. On the "Credentials" page, click "" -> для "User type" or "User type," select "External" -> click "".

  5. In the "OAuth consent screen" step, 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 "".

  6. On the "Scopes" step, click "Add or remove scopes" -> select items as shown in the (ou may add other OAuth 2.0 scopes for Google APIs as needed. Check instruction) -> click "Save and Continue".

  7. 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 "" (more details available via link) -> click "Save and continue".

  8. On the "Summary" step, you’ll see a summary based on the completed information.

  9. Return to the "Credentials" tab -> click "Create credentials" -> select"".

  10. On the opened page, select "Web application" for "Application type" -> enter a name -> click "Add URL" -> add the link as shown below -> click ""

https://www.yourdomain.net/service/auth/google/callback
  1. Copy 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 -> to the active position.

  2. In the admin panel, go to the "Site Settings" page -> "Server" section -> click "" next to the two "api-http" processes.

  3. As a result, the Google authorization method will be available for clients on the login and registration screen.

Last updated