Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.


Panel

Table of Contents

...

Example with Google OAuth

Before you begin


The Redirect URI (or callback URI) must be determined.

It will be in the form https://<FQDN>:<PORT>/service/auth/sso/google/callback, where FQDN and PORT are the name and port for the host where the UDMG Authentication Proxy and NGINX server are installed.

For example https://udmg.stonebranch.com:8080/service/auth/sso/google/callback.

Configuration on Google Cloud

...

  • From the menu Create Credentials Select OAuth Client ID.
  • The application type must be: Web Application
  • Under the Authorized redirect URIs,  put the value for UDMG Authentication Proxy callback URI.

Image RemovedImage Added

  • Click Create
  • Keep the client id, the client secret and the JSON file for reference. This is needed to complete the setup o UDMG.

Image RemovedImage Added


Reference:

https://developers.google.com/chat/api/guides/auth/users#step_3_create_oauth_client_id_credentials_in

...

Example with OpenID Provider

Before you begin


The Redirect URI (or callback URI) must be determined.

It will be in the form https://<FQDN>:<PORT>/service/auth/sso/openid/callback, where FQDN and PORT are the name and port for the host where the UDMG Authentication Proxy and NGINX server are installed.

For example https://udmg.stonebranch.com:8080/service/auth/sso/openid/callback.

Configuration on UDMG

To configure the SSO OpenID integration on UDMG Authentication Proxy, follow these steps.

...

  • Add a file parameter with a filename, for example udmg-sso-openid.json
  • Create this configuration file in the same location as the UDMG Authentication Proxy configuration file
  • Fille Fill in the clientID and clientSecret with the values from the setup on Google Cloud.
  • Set the redirectURI with the callback URI for the UDMG Authentication Proxy.

...

Example with OAuth2 Provider

Before you begin


The Redirect URI (or callback URI) must be determined.

It will be in the form https://<FQDN>:<PORT>/service/auth/sso/openid/callback, where FQDN and PORT are the name and port for the host where the UDMG Authentication Proxy and NGINX server are installed.

For example https://udmg.stonebranch.com:8080/service/auth/sso/openid/callback.


Configuration on OAuth2 identity provider

The following parameters must be known

  • Client ID
  • Client Secret
  • token URL
  • authorization URL
  • User Info URL

Scope and user email

The user email is needed for the identification of the user record in UDMG and must be returned by the identity provider.

The specific required scope depends on the identity provider.

In the case of OAuth2 with Google Cloud Provider, it is required to grant additional scopes for that purpose.

  • On Google Cloud console, go to OAuth consent screen and edit the App.

Image RemovedImage Added

  • Under the Scopes step

Image RemovedImage Added

  • Grant the following scopes

Image RemovedImage Added

  • After clicking Update the scopes, they are listed under Your non-sensitive scopes

Image RemovedImage Added

Configuration on UDMG

...

  • Add a file parameter with a filename, for example udmg-sso-oauth.json
  • Create this configuration file in the same location as the UDMG Authentication Proxy configuration file
  • Fille Fill in the clientID and clientSecret with the values from OAuth identity provider.
  • Set the redirectURI with the callback URI for the UDMG Authentication Proxy.
  • Set the tokenURL, authorizationURL and userInfoURL with the values from OAuth identity provider.

...