How to Configure Google Workspace SSO for Time Doctor

This guide walks you through integrating Time Doctor with your Google Workspace for easy single sign-on (SSO) access using SAML2.0. You'll create applications in Google Workspace to enable seamless login to Time Doctor through the "Sign in with SSO".

Google Workspace SSO options

Google Workspace offers SSO via SAML and OIDC protocols. 

See Google SSO official documentation.

We'll focus on SAML-based integration for Time Doctor, ensuring a smooth login experience.

Prerequisites

Before you start, please make sure you have administrative access to both your Time Doctor company account and Google Workspace.

Time Doctor Company with owner or admin access 

Main Steps:

Step 1: Create a new app for the Time Doctor webapp with SAML2.0 in Google Workspace Console

In your Google Workspace admin console, create a new web app with SAML2.0 integration. You can follow the steps provided by Google to set up the app.

step-1


Step 1.1: App details:

Name: Time Doctor webapp

You can add the logo of Time Doctor.

step-1.1Press Continue.


Step 1.2: Google Identity Provider details

step-1.2Do nothing and press Continue. 

Step 1.3: Service Provider details

ACS URL

https://api2.timedoctor.com/api/1.0/oauth2/google/sso/callback/web 

Entity ID

https://api2.timedoctor.com/api/1.0/oauth2/google/sso/callback/web

Name ID Format

EMAIL

step-1.3Press Continue. 


Step 1.4: Attribute Mapping

Google Directory attributes → App attributes

Primary Email → Email

step-1.4Press Finish.



Step 1.5: Turn it on for everyone

step-1.5A

 

step-1.5B

step-1.5C-1


Step 2: Create a new app for the Time Doctor webdesktop with SAML2.0 in Google Workspace Console

In your Google Workspace admin console, create a new web app with SAML2.0 integration.
You can follow the steps provided by Google to set up the app.

step-2


Step 2.1: App details:

Name: Time Doctor webdesktop

You can add the logo of Time Doctor.

step-2.1Press Continue. 


Step 2.2: Google Identity Provider details

step-2.2Do nothing and press Continue. 


Step 2.3: Service Provider details

ACS URL

https://api2.timedoctor.com/api/1.0/oauth2/google/sso/callback/desktop  

Entity ID

https://api2.timedoctor.com/api/1.0/oauth2/google/sso/callback/desktop 

Name ID Format

EMAIL

step-2.3Press Continue.


Step 2.4:
Attribute Mapping

Google Directory attributes → App attributes

Primary Email → Email

step-2.4Press Finish.


Step 2.5: Turn it on for everyone

step-2.5A

step-2.5B

step-2.5C

 

Step 3: Step 3: Configure the Google SSO under the Time Doctor

Access the Time Doctor Company settings page

Retrieve values from Google Workspace Admin Console → Security → Authentication →

https://admin.google.com/ac/security/ssocert

step-3


Add these retrieved values to your Time Doctor company settings.

g_sso

Congratulations! 🥳

Your users can now log in to Time Doctor using the "Sign in with Google SSO" option on the login page.

Please reach out to support@timedoctor.com if you need further assistance.