Application Configuration in Workday Portal for Workday REST OAuth2 Account
In this Article
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.
Â
Â
When you enable the Enforce 60 Minute Access Token Expiry option, the generated OAuth2 credential contains the access token, which expires in 60 minutes. To refresh this token automatically, select the Auto-refresh token checkbox in the Workday REST OAuth2 Account.
When you disable the Enforce 60 Minute Access Token Expiry option, the generated credential contains the Access token with its Access token expiration value set as -1 in the Workday REST OAuth2 Account. This access token is valid for several hours, but the Auto-refresh token feature cannot refresh the access token in this scenario.
If you disable the Enforce 60 Minute Access Token Expiry option, you might encounter an Invalid Access Token
error intermittently. Hence, we recommend you enable this option to avoid this error.
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.
The OAuth2 credentials generated in the Register API Client Admin console grants you only GET permission for Workday services and OpenAPI paths.
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 the Authorize button, and after successful authorization, click the Apply button.
Related Content
Have feedback? Email documentation@snaplogic.com | Ask a question in the SnapLogic Community
© 2017-2024 SnapLogic, Inc.