OAuth 2.0 Configuration Examples

Microsoft

Provider Information

Below are examples of what information are expected for a Microsoft OAuth provider.

Client ID

11re338f-3443-4c96-3td7-81e5c986a0e9

Can be found on the Overview page of the App registered

Client Secret

xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

Can be created under Certificates & secrets of the App registered

Authorization Endpoint

https://login.microsoftonline.com/6fe2c527-u776-4v20-kqq8-a63670f1043r/oauth2/v2.0/authorize

Can be found under the Endpoints menu found on the Overview page of the App registered

Token Endpoint

https://login.microsoftonline.com/6fe2c527-u776-4v20-kqq8-a63670f1043r/oauth2/v2.0/token

Can be found under the Endpoints menu found on the Overview page of the App registered

User Info Endpoint

https://graph.microsoft.com/oidc/userinfo

Generic endpoint for all registered App.

Scopes

openid, email, offline_access

Required scopes that need to be included in the configuration.

Discovery Endpoint

https://login.microsoftonline.com/6fe2c527-u776-4v20-kqq8-a63670f1043r//v2.0/.well-known/openid-configuration

Can be found under the Endpoints menu found on the Overview page of the App registered

Configuration in Web Client

The following screen shot is an example of where to set the values that were retrieved from the Microsoft provider.

Mapping User

The following screen shot is an example of how to map the Web Client user to their Microsoft account.

Google

Provider Information

Below are examples of what information are expected for a Microsoft OAuth provider.

Client ID

343312345323453-t3424qpj03iie75appleqasff42ksq322.apps.googleusercontent.com

Can be found on the Overview page of the App registered

Client Secret

xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

Can be created under Certificates & secrets of the App registered

Authorization Endpoint

https://accounts.google.com/o/oauth2/v2/auth

Generic endpoint that can be found under Authenticating the User

Token Endpoint

https://oauth2.googleapis.com/token

Generic endpoint that can be found under Authenticating the User

User Info Endpoint

https://openidconnect.googleapis.com/v1/userinfo

Generic endpoint for all registered App

Scopes

openid, email

Required scopes that need to be included in the configuration

Discovery Endpoint

https://accounts.google.com/.well-known/openid-configuration

Generic endpoint that can be found under Discovery document

Configuration in Web Client

The following screen shot is an example of where to set the values that were retrieved from the Google provider.

Mapping User

The following screen shot is an example of how to map the Web Client user to their Google account.