PROVIDER SETUP DOCS
Identity Auth
Integrating with Google Identity
8min
Pathfix allows you to easily add Google SSO (Login with Google) for your end-user, handling authorization and enable communication between your app and Google Identity in just a few minutes.
Before proceeding, you will first need to register your application and create a project with Google Cloud Platform here: https://console.cloud.google.com/getting-started
Please note: You will need to create an GCP account with Google and be logged in to access this.
Access your Project on GCP
- Select your Project and click on the menu options
- Click on APIs & Services and select OAuth consent screen
![Image: OAuth consent screen Image: OAuth consent screen](https://archbee-doc-uploads.s3.amazonaws.com/E6H_--BmYJWG_yGaOUOxt/rhRacTSgBAAUKuXCvK9Mp_image.png)
Image: OAuth consent screen
- Select the type of User as External and click on Create
- The app will be available in test mode and will need to be submitted to Google for review (this can be done later as well)
![Image: User Type Image: User Type](https://archbee-doc-uploads.s3.amazonaws.com/E6H_--BmYJWG_yGaOUOxt/C1sYc_EDKc0hFlpTE4SP5_image.png)
Image: User Type
- Add the name of your app (this is what your users will see once you app is approved by Google)
- Fill in the rest of the App domain info
- Save and continue
![Image: App Domain Image: App Domain](https://archbee-doc-uploads.s3.amazonaws.com/E6H_--BmYJWG_yGaOUOxt/rlVRF9ScFaeALY0clhe0W_image.png)
Image: App Domain
- In the following page, select the below scopes for Identity:
![Image: Google Identity scopes Image: Google Identity scopes](https://archbee-doc-uploads.s3.amazonaws.com/E6H_--BmYJWG_yGaOUOxt/z0gI2z8ImrqCnGjmn1i_e_image.png)
Image: Google Identity scopes
- Click on Credentials from the left nav bar
- Click Create Credentials and select OAuth client ID
![Image: Create Credentials Image: Create Credentials](https://archbee-doc-uploads.s3.amazonaws.com/E6H_--BmYJWG_yGaOUOxt/fDIjObS-fXNXplGa9qS9l_image.png)
Image: Create Credentials
- Add the name of your OAuth 2.0 client
- Under Authorized redirect URIs, add the Pathfix URI: https://labs.pathfix.com/integrate/command
![Image: Redirect URIs Image: Redirect URIs](https://archbee-doc-uploads.s3.amazonaws.com/E6H_--BmYJWG_yGaOUOxt/eDl4Z9JxszGpL17tN_L_J_image.png)
Image: Redirect URIs
- Once saved, you will receive your Google Client ID and Client Secret
- Copy this info for use in Pathfix
![Image: Google ClientID and Secret Image: Google ClientID and Secret](https://archbee-doc-uploads.s3.amazonaws.com/E6H_--BmYJWG_yGaOUOxt/qZFCwgxkLjx99iKZoI46Q_image.png)
Image: Google ClientID and Secret
- Login to your Pathfix account and click on Add Application
- Add the name of your SaaS and hit Save
- Click on Identity and select Google Identity from the list of providers to integrate with. You can change the Display Name and Description.
- Enter the Client ID and Client Secret generated from Google
![Image: Pathfix setup Image: Pathfix setup](https://archbee-doc-uploads.s3.amazonaws.com/E6H_--BmYJWG_yGaOUOxt/IqAthLPATwvM5_xTHkao5_image.png)
Image: Pathfix setup
Adding the SSO/Login functionality to the app is done based on your SaaS stack:
Need help? Reach out to us at [email protected] and we would be happy to assist!
Updated 03 Mar 2023
![Doc contributor](https://s3.amazonaws.com/archbee-animals/cat.png)
Did this page help you?