Authentication: SSO with Google
Linkurious Enterprise supports Google Suite (a.k.a. Google Apps) as an external authentication provider (with Single Sign-On).
Since Google Suite implements the OpenID Connect standard, it can be configured as an OpenID Connect provider.
Configuration
To set up Linkurious Enterprise authentication with Google Suite, follow these steps:
- Create the credentials on your Google Developers console.
- From the portal, obtain the following parameters:
authorizationURL, e.g.https://accounts.google.com/o/oauth2/v2/authtokenURL, e.g.https://www.googleapis.com/oauth2/v4/tokenclientID, e.g.1718xxxxxx-xxxxxxxxxxxxxxxx.apps.googleusercontent.comclientSecret, e.g.E09dQxxxxxxxxxxxxxxxxSN
- Add or edit the existing
oauth2section inside theaccesssection inlinkurious/data/config/production.json
To limit the access to the Google accounts from your Google Suite domain, use
the hd query parameter in the authorizationURL with your domain as value.
Example access.oauth2 configuration with Google Suite:
"access": // [...] "oauth2": "enabled": true "provider": "openidconnect" "authorizationURL": "https://accounts.google.com/o/oauth2/v2/auth?hd=YOUR_GSUITE_DOMAIN.COM" "tokenURL": "https://www.googleapis.com/oauth2/v4/token" "clientID": "XXXXXXXXXX-XXXXXXXXXXXXXXXX.apps.googleusercontent.com" "clientSecret": "XXXXXXXXXXXXXXXXXXXXXXX"