Skip to main content

Workday: activate the integration with OAuth 2.0

How to connect Teamtailor to Workday with OAuth 2.0, switch an existing username and password activation to OAuth, and what each setting in the activation form does.

Getting started

Teamtailor connects to Workday with OAuth 2.0, so no Workday password is stored in Teamtailor. New activations must use OAuth. You will be asked for the following:

  • Workday API Tenant

  • Workday API Base URL

  • Workday API Client ID

  • Workday API Client Secret

  • Workday Refresh Token

  • User Email: Enter one email address of a Teamtailor admin user.

  • Teamtailor API Key with admin read/write privileges

Please note!

1. The Workday API Base URL ends in /ccx/service. Step 8 below shows how to find it.

2. The user email has to be the career site email shown on the user's Teamtailor profile, not their login email. When adding the user email you can only provide one email.


Set up OAuth in Workday

Your Workday administrator follows these steps to get the five values the activation form asks for: tenant, base URL, Client ID, Client Secret and refresh token. Names and URLs in the screenshots are examples.

Please note! Both the security group permissions (steps 3 to 5) and the API client scopes (step 6) apply. If either is missing, Workday will refuse the request.
​

Step 1: Turn on OAuth

Search for Edit Tenant Setup - Security. Under OAuth 2.0 Settings, tick OAuth 2.0 Clients Enabled and click OK. If it is already ticked, skip this step.

Step 2: Create the integration system user

Use a dedicated integration system user (ISU). Search for Create Integration System User. Give it a name, for example ISU_Teamtailor_Integration. Tick Generate Random Password, because Teamtailor never uses this password with OAuth. Tick Do Not Allow UI Sessions so nobody can sign in with it.

Step 3: Create its security group

Search for Create Security Group. Pick Integration System Security Group (Unconstrained) and give it a name, for example ISSG_Teamtailor_Integration. On the next screen, add the user from step 2 under Integration System Users.

Step 4: Give the group its permissions

Search for Maintain Permissions for Security Group, choose Maintain and the group from step 3. Under Domain Security Policy Permissions, add one row per domain below. The API client scopes in step 6 only narrow these permissions, they do not replace them.

Domain security policy

Access

Needed for

Job Requisition Data

Get Only

Importing requisitions

Candidate Data: Job Application

Get and Put

Sending hired candidates

Candidate Data: Attachments

Get and Put

CVs and documents of hired candidates

Manage Pre-Hire Process: Manage Pre-Hires

Get and Put

Sending pre-hires

Integration Build

Get Only

The document category list

Set Up: Compensation Packages

Get Only

Salary ranges

Manage: Location

Get Only

The location hierarchy filter

Worker Data: Public Worker Reports

Get Only

The Recruitment Lead

Step 5: Activate the security changes

Workday ignores the new permissions until you activate them. Search for Activate Pending Security Policy Changes, write a short description, click OK, tick Confirm and click OK again.

Step 6: Register the API client

Search for Register API Client for Integrations. Name it Teamtailor, keep Non-Expiring Refresh Tokens ticked and add these eight scopes: Recruiting, Pre-Hire Process, Integration, Tenant Non-Configurable, Core Compensation, Organizations and Roles, Staffing, Contact Information. Leave Include Workday Owned Scope unticked and click OK.

Workday now shows the Client ID and Client Secret. Copy both right away: the secret is shown only once.

Which scopes are used for what?

For the standard setup, select all eight. The table shows which scope each feature uses.

Feature

Scope (functional area)

Requisition import

Pre-Hire Process

Candidate flow

Recruiting

Pre-hire flow

Pre-Hire Process

CVs and documents

Tenant Non-Configurable, alongside the scope for your flow

Salary ranges

Core Compensation

Location hierarchy

Organizations and Roles

Recruiter work email

Staffing and Contact Information

Validate and document categories

Integration

Please note! Documents do not need the Staffing scope. You do not need to tick Include Workday Owned Scope.

Step 7: Generate the refresh token

Search for View API Clients and open the API Clients for Integrations tab. Click the related actions (...) next to the client from step 6 and pick API Client > Manage Refresh Tokens for Integrations. Choose the user from step 2 as Workday Account, tick Generate New Refresh Token and click OK. Copy the Refresh Token from the next screen.

Step 8: Find the tenant and base URL

The top of View API Clients shows the Token Endpoint, for example https://wd3-services1.myworkday.com/ccx/oauth2/acme/token. Both values come from it:

  • Tenant is the part after /oauth2/: acme.

  • Base URL is the address up to /ccx, followed by /service: https://wd3-services1.myworkday.com/ccx/service.

Step 9: Paste the values into Teamtailor

In Teamtailor, open the Workday activation in the Marketplace and fill in the connection fields:

Teamtailor field

Value

Workday API Tenant

The tenant from step 8

Workday API Base URL

The base URL from step 8

Workday API Client ID

The Client ID from step 6

Workday API Client Secret

The Client Secret from step 6

Workday Refresh Token

The refresh token from step 7

Then save the activation. A successful sign-in does not guarantee that every permission is in place, so a missing permission can show up later when data is sent or received. After changing the API client's scopes you do not need a new refresh token: the change works straight away.


Existing activations (username and password)

If you activated the integration before OAuth was available, your username and password keep working for now. New activations can no longer use username and password, and we recommend that you switch to OAuth as soon as you can. Existing activations have these fields:

  • Workday API Username

  • Workday API Password

  • Workday API Tenant

  • Workday API Base URL

  • User Email and Teamtailor API Key, as above

How to switch to OAuth

You do not need to create a new activation or recreate your triggers. Keep your existing integration system user.

  1. In Workday, follow steps 1, 6, 7 and 8 above: turn on OAuth, register the API client with non-expiring refresh tokens and all eight scopes, generate a refresh token for your existing integration system user, and find the tenant and base URL. Check that its security group has the permissions from step 4.

  2. Open your existing Workday activation in Teamtailor and enter the Client ID, Client Secret and Refresh Token.

  3. Save the activation.


Still need help?

If you run into problems contact us through the chat.

Did this answer your question?