Log in to Google Workspace using Asgardeo¶
Legacy SSO Profile
Google has marked their old SSO profile as legacy and now supports a new profile. We recommend using the new profile for better compatibility. If you still need to set up the legacy profile, refer to Google's legacy guide and use our Standard-Based SAML template.
This page guides you through integrating Asgardeo for Single Sign-On (SSO) with Google.
Before you begin
You need to have a Google domain. Further, ensure you have a Google Workspace account and your account supports SSO by referring to the Google documentation.
Create the Google Workspace application¶
Follow the steps given below to register the Google Workspace application in Asgardeo.
-
On the Asgardeo Console, go to Applications.
-
Click New Application and under SSO Integrations, select Google Workspace.
-
Provide the Entity ID and a Name for the application.
Entity ID
A unique URL dynamically generated for your Google SAML SSO profile. To find it, follow Google's guide on creating a SAML SSO profile. Once completed, copy the
Entity ID
from theSP Details
section of the specific SAML SSO profile.Note: While setting up the SAML SSO profile in Google, simply provide a name first. The IdP details can be added later.
-
Click Create to complete the registration.
-
Download Asgardeo's certificate from the
Guide
tab of the created application.
Configure Google¶
Follow the steps below to configure Google for SSO authentication with Asgardeo.
-
Access your Google domain's admin console.
-
Follow Google’s instructions to configure the SSO profile for your organization. Use the details below:
-
IDP entity ID:
api.asgardeo.io/t/{organization_name}
-
Sign-in page URL:
https://api.asgardeo.io/t/{organization_name}/samlsso
-
Sign-out page URL:
https://api.asgardeo.io/t/{organization_name}/samlsso
-
Password URL:
https://myaccount.asgardeo.io/t/{organization_name}/myaccount/security
-
-
Upload Asgardeo's certificate you downloaded earlier.
¶
Try it out¶
Now that you have integrated Asgardeo with Google Workspace, follow the steps below to test it.
Note
Google restricts administrators from being redirected to external identity providers. Therefore, use a non-administrator account to try it out.
-
Create a new account in Asgardeo for a user that already exists in Google Workspace under the same email address.
-
Navigate to Google and enter the email address of the user you created. You will be navigated to Asgardeo's login page.
-
Enter the username and password for the user to login. Once authenticated, you will be navigated to the relevant domain's G-Suite.
Note
If you only wish to access Gmail, navigate to mail.google.com, and repeat the process.