Authenticate
Get an OAuth access token for a registered API client from its refresh token, for the other Workday actions.
Command in the Workday toolkit · id ooa.workday/authenticate · 7 inputs (5 required), 2 outputs
Inputs
| Input | Type | Required | Default | What it is |
|---|---|---|---|---|
| Host | String | Yes | Workday REST host, e.g. https://wd2-impl-services1.workday.com. | |
| Tenant | String | Yes | Tenant name. | |
| Client ID | String | Yes | Client id of the API client registered in Workday. | |
| Client secret | Credential | Yes | Client secret from the vault. | |
| Refresh token | Credential | Yes | Refresh token issued to the API client, from the vault. | |
| Session | String | No | Keep this sign-in for the steps after it under this name; the toolkit's default session when empty (G6). | |
| Share | Boolean | No | false | Agents this one runs use the same session (G6). |
Outputs
| Output | Type | What it is |
|---|---|---|
| access_token | Credential | Access token; map it to access_token of later actions. |
| expires_in | Number | Seconds until the access token expires, when Workday says. |