...
Table of Contents | ||||
---|---|---|---|---|
|
Overview
The Workday portal allows you to register the required API client based on the category and locate all the necessary information for setting up the Workday REST OAuth2 Account.
Register an API Client
Log into the Workday portal with valid Workday Org admin credentials in this format:
https://impl.workday.com/wday/authgwy/<your_tenant_name>/login.htmld.
From the Search menu for the Workday categories, select Register API Client and click Register.
Provide details for the following mandatory fields:
Client Name: Specify a name for the API Client
Client Grant Type: Select Authorization Code Grant.
Note: Currently, Snap supports only Authorization Grant Code grant types.Select Enforce 60 Minutes Access Token Expiry for the Auto-refresh token to work correctly in the Workday REST OAuth2 Account.
Access Token Type: Select Bearer.
Redirect URL: https://elastic.snaplogic.com/api/1/rest/admin/oauth2callback/workday
Scope: Select all the services you need to access from the dropdown list.
Click on Done.
Note |
---|
If you disable the Enforce 60 Minute Access Token Expiry option, you might encounter an |
Locate the Information Required to Configure Your Snap Account
After the API client is registered in the Workday portal, note down the Client ID, Client Secret, Authorization Endpoint, and Token Endpoint automatically generated to be used in the Workday REST OAuth2 Account.
Click on the Authorize button in the Workday OAuth2 Account. You will be redirected to the Workday Portal. Provide valid login credentials and click on Allow.
We recommend you use the Admin login credentials (who initially created the API) for authorization. The required permissions are granted only to the admin who creates the application.
Note |
---|
The OAuth2 credentials generated in the Register API Client Admin console grants you only GET permission for Workday services and OpenAPI paths. |
While registering an API client, when you encounter Insufficient permission
or such permission-related errors, we recommend that you contact the Workday Org Admin to resolve the POST permission issue.
Configure Workday REST OAuth2 Account
In the Workday REST Snap, specify the details to set up the Workday REST OAuth2 Account with the following details noted in the previous steps:
- Host details
- Tenant details
- Client ID
- Client secret
- OAuth2 Endpoint
- OAuth2 TokenClick Click the Authorize button, and after successful authorization, click the Apply button.
...