Learn how to set up an Enterprise Connection with Google.
Dashboard
.API URL
.Settings > Enterprise connections
.Enterprise connections
find the Redirect URL
panel.Apps > Web and mobile apps
.Add app
dropdown in the main view.Add custom SAML app
.Continue
.Download Metadata
. You need to download and host this file publicly because Hanko requires access to the metadata file via URL. See Hosting the SAML XML Metadata file for details.Continue
.ACS URL
enter your ACS URL
(see Prerequisites - Service Provider ACS URL).Entity ID
enter you project API URL
(see Prerequisites - Service Provider Entity ID).Continue
.Attributes
panel, click Add Mapping
.Google Directory Attribute | App attribute |
---|---|
Primary email | http://schemas.xmlsoap.org/ws/2005/05/identity/claims/emailaddress |
Finish
.User access
panel.Service status
to ON for everyone
.Save
.Settings > Enterprise connections
.Connections
, click New connection
.Name
for the connection.Domain
for the connection. When users authenticate via SAML SSO, the domain of the email
address provided as an identifier at the start of an authentication flow must match the domain configured here.Metadata URL
. This is the URL of your hosted SAML XML Metadata file.Save
to create the connection.