Page tree

Before your translate5 application can use Google's OAuth 2.0 authentication system for user login, you must set up a project in the Google API Console to obtain OAuth 2.0 credentials, set a redirect URI, and (optionally) customize the branding information that your users see on the user-consent screen.

Obtain OAuth 2.0 credentials

You need OAuth 2.0 credentials, including a client ID and client secret, to authenticate users and gain access to Google's APIs.

To find your project's client ID and client secret, do the following:

  1. Select an existing OAuth 2.0 credential or open the Credentials page. (see image1)
  2. If you haven't done so already, create your project's OAuth 2.0 credentials by clicking Create credentials > OAuth client ID, and providing the information needed to create the credentials.
    1. click on Create credentials dropdown and select OAuth client ID and fill in the requested data
    2. on the next window
      1. select Web application in the radio button options
      2. give a name to your your OAuth client ID (this is not the display name of your app) and click create
    3. now the new created client id should be listed in the credentials tab (see image2)
  3. the next step is to set up Authorized domain
    1. navigate to the OAuth consent screen
    2. in the Authorized domains field add you current translate5 domain without protocol (see image4)
    3. click on save in the page below
  4. the next step is to add redirect Urls
    1. click on the credentials tab, and click on the openid client
    2. in the field Authorized redirect URIs add your translate5 instacne domain folowed by /login (image3) and click on save
  5. Look for the Client ID in the OAuth 2.0 client IDs section. For details, click the client ID.

  • No labels

1 Comment

  1. This documentation is outdated!