Setting Up Authentication for OpenID Connect with Google

Obtaining OAuth 2.0 Credentials

The redirect URI that you set in the Google Developers Console determines where Google sends responses to your authentication requests.

To find the redirect URI for your OAuth 2.0 credentials, do the following:

1.Go to the Google Developers Console at https://console.developers.google.com/start.

2.Select an existing project or click Create project to create a new one.

3.In the dashboard, click Use Google APIs.

4.In the sidebar on the left, click Credentials.

5.From the list of OAuth 2.0 client IDs, click the client ID you just created.

6.Under Authorized redirect URIs, enter the path in your application that users are redirected to after they have authenticated with Google.

7.Click Save.