- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-09-2021 01:14 PM
Has anyone made an OAuth 2.0 connection to their Workday tenant? I am following the Workday HR spoke documentation in order to retrieve a RAAS report. I have the oauth_entity record created using the client id & client secret values provided by Workday.
When I click "Get oauth token", I receive a windows message
If I am logged into my Workday tenant before clicking get token, then Workday opens a new window asking me to allow or deny access to my account. But I don't get an access token back. Also, my Workday account does not have access to the data I need.
My support case on this has been open awhile. Now I am reaching out to Community members to see if anyone has specific experience making an oauth 2.0 connection with Workday.
Thank you, Brian Watkins
Solved! Go to Solution.
- Labels:
-
Flow Designer
-
IntegrationHub
-
Workflow

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-28-2023 12:33 AM
When you click "Get OAuth Token" a popup should appear with Workday login screen.
Log in to Workday using the "API client" credentials created in workday for ServiceNow.
You're then taken to a screen with an Allow and Deny button. Click Allow.
Ensure the API client configuration in workday has the redirect URL: https://[your insance].service-now.com/oauth_redirect.do
If you're not getting the Workday login screen when clicking "Get OAuth Token", open the Application Registry [oauth_entity] record in ServiceNow, add this param' to the Authorisation URL: ?redirect=n
E.g. https://x.myworkday.com/[your tennant]/authorize?redirect=n
If none of this works try logging into workday on a new tab using the "API client" credentials, then click "Get OAuth Token" in the ServiceNow tab.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-28-2023 12:33 AM
When you click "Get OAuth Token" a popup should appear with Workday login screen.
Log in to Workday using the "API client" credentials created in workday for ServiceNow.
You're then taken to a screen with an Allow and Deny button. Click Allow.
Ensure the API client configuration in workday has the redirect URL: https://[your insance].service-now.com/oauth_redirect.do
If you're not getting the Workday login screen when clicking "Get OAuth Token", open the Application Registry [oauth_entity] record in ServiceNow, add this param' to the Authorisation URL: ?redirect=n
E.g. https://x.myworkday.com/[your tennant]/authorize?redirect=n
If none of this works try logging into workday on a new tab using the "API client" credentials, then click "Get OAuth Token" in the ServiceNow tab.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-29-2023 01:44 AM
Hi @Kit Cheong ,
We are also facing the same issue. We tried your solution but we get the error. Attached the screenshots.
Any suggestions for these!

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-29-2023 02:02 AM
The authorisation URL entered into service now is not correct. Get your Workday admin to provide the authorisation URL, it is listed in the API config section of Workday.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-29-2023 02:49 AM
Thanks @Kit Cheong.
After clicking "Get OAuth Token" it took to the login page of workday & logged in
However, we do not get the access tokens back & still could see the message tokens are not available.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-29-2023 02:59 AM
The redirect URL in Workday in API client config might be incorrect.
https://<instance>.service-now.com/oauth_redirect.do