Follow these steps to configure an OpenID Connect Single sign-on (SSO) identity on
Google.
-
Go to the Google developer console page https://console.developers.google.com/)
-
Create a new project (or use an existing one)
-
From the project page select Credentials under APIs and
auth
-
In the Credentials page, select Create new Client
ID
This will open a new window where you can create a client identity and select a
product.
-
Choose Web Application as product
-
In the Authorized JavaScript origins field, specify your JavaScript
hostname (e.g. https://host:port/gas)
-
In the Authorized redirect URIs fields, specify the URI redirection
where the GAS is listening for the response (i.e.
https://host:port/gas/ws/r/services/OpenIDConnectServiceProvider/oauth2callback)
The OAuth2 PUBLIC and SHARED SECRET IDs
are displayedNote: You will need to save these in your web service application configuration
file.
You have now setup Google as your IdP for your web services to use OpenID Connect
SSO.