Getting started

Single sign-on (SSO)

23 min read
Who can use this feature?
Workspace owner
Enterprise plan

Single Sign-On (SSO) is an authentication method that lets your team log in to Clockify using existing company credentials (e.g., Okta, Azure, Google). This eliminates the need for separate passwords and centralizes access control.

Note

This is a paid feature, which you can enable by upgrading your workspace to Enterprise plan.

What happens when SSO is activated?

Once SSO is enabled and configured for your workspace:

  • Users will no longer use a Clockify-specific password. Instead, they will be authenticated through your organization’s Identity Provider (IdP).
  • If enabled, new users who log in via SSO for the first time will have a Clockify account automatically created and added to your workspace.
  • Your team will access Clockify through your custom subdomain (e.g., yourcompany.clockify.me).

Activating SSO changes how your team accesses their accounts:

1. Users go to your workspace’s custom subdomain, such as acmecorp.clockify.me.
2. Clicking on Log in with SSO redirects to your company’s sign-in page (like Okta or Microsoft).
3. After entering their company credentials, they are instantly redirected back to Clockify, fully logged in.

Warning

If you disable Log in with email, users will be required to use SSO, preventing any logins via standard email/password combinations for maximum security.

Setting up custom subdomain

Note

To use SSO, you first need to move your workspace to subdomain. Once you do that, you can configure SSO settings and disable other login methods.

Moving to subdomain

Before you can configure and start using SSO for authorization, you need to move your Clockify app domain to a custom subdomain.

When you upgrade your Clockify subscription to Enterprise plan, you will get Authentication tab in the Workspace settings. There, you can enter the subdomain you’d like to use and move your workspace there.

To set up subdomain:

  1. Navigate to the Authentication tab in the Workspace settings
  2. Enter your custom subdomain in the provided field
  3. Click Create subdomain and Create to confirm the action

After you created your subdomain and moved your workspace there, Google login will no longer work for you and your users.

If you’d, however, like to use Google login, you need to set it up manually by configuring OAuth 2.0 (OIDC) for SSO.

Accessing Clockify from subdomain

After you create your subdomain, you’ll automatically be logged out of any apps you were logged in with your Clockify account. You’ll have access to them only through the subdomain you created (e.g. https://yourcompanysubdomain.clockify.me/login).

Workspaces on subdomain

Subdomain is tied to only one workspace. Users on subdomain can’t have multiple workspaces: there is no workspace switcher, no workspaces in the sidebar, and no access to subdomain workspace from the main domain.

To access multiple workspaces, log in to the main Clockify domain.

Changing subdomain

Info

Once you change your URL, your Users will be logged out and will have to use the workspace through the new URL.

You can change subdomain URL at any time.

If you cancel the subscription to the Enterprise plan:

  • you’ll move back to the main domain when the subscription expires
  • your subdomain will become available for others to use
  • your users will have to log in with their email

API keys on subdomain

For security reasons, each user on subdomain gets a separate API key that works only for that workspace – meaning, no one can access your data on your subdomain unless they have the right authorization.

If, for example, there is a user with two separate Enterprise workspaces, workspace owners can’t see, or access data from each others accounts.

Inviting new users

Once you’re in the subdomain workspace, you can invite users one by one using email (like before), or let anyone join without you having to manually invite them.

To let anyone join, check the Users can join without an invite checkbox.

If you use SSO and someone without an account tries to log in, the account will be automatically created for them and they’ll log in.

If you allow Log in with email, people will be able to create an account and automatically join your workspace.

Configuring SSO

If you’d like to use SSO via your mobile devices (android or iOS) all the SSO configurations supported by Clockify should contain [yourcompany subdomain].clockify.me links. For example, in the Redirect URL section add https://yourcompanysubdomain.clockify.me/login/android/oauth2 or https://yourcompanysubdomain.clockify.me/login/ios/oauth2 link.

Clockify supports all major SSO identity providers:

Only workspace owner can see Authorization tab, manage subdomain, configure SSO, and turn SSO on/off.

If you wish to force everyone to log in with SSO, simply turn off the Log in with email option. Once this change has been saved, your workspace members accounts will be required to use SSO to log in.

Data in the SSO configuration can always be edited or deleted. If deleted, your users will have to switch back to logging in by using email.

Owner can always log in using the original credentials at https://mysubdomain.clockify.me/login-owner

To add Default Relay State, use the parameters below.

Note

Make sure to use curly brackets and straight quotes instead of the curly ones, otherwise it won’t work.

Example of Default Relay State:

{"location":"https://yourcompanysubdomain.clockify.me", "organizationName":"yourcompanysubdomain"}

SAML 2.0 with Okta

User interface displayed in this video may not correspond to the latest version of the app.

SAML 2.0 with OneLogin

User interface displayed in this video may not correspond to the latest version of the app.

SAML 2.0 with Google

SAML 2.0 with Rippling

SAML 2.0 with JumpCloud

OAuth 2.0 (OIDC) with Google

OAuth 2.0 (OIDC) with Microsoft Azure

User interface displayed in this video may not correspond to the latest version of the app.

SAML 2.0 with Microsoft Azure

User interface displayed in this video may not correspond to the latest version of the app.

OAuth 2.0 (OIDC) with Okta

Was this article helpful? #

Thank you! If you’d like a member of our support team to respond to you, please drop us a note at support@clockify.me