Skip to main content

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​

InputTypeRequiredDefaultWhat it is
HostStringYesWorkday REST host, e.g. https://wd2-impl-services1.workday.com.
TenantStringYesTenant name.
Client IDStringYesClient id of the API client registered in Workday.
Client secretCredentialYesClient secret from the vault.
Refresh tokenCredentialYesRefresh token issued to the API client, from the vault.
SessionStringNoKeep this sign-in for the steps after it under this name; the toolkit's default session when empty (G6).
ShareBooleanNofalseAgents this one runs use the same session (G6).

Outputs​

OutputTypeWhat it is
access_tokenCredentialAccess token; map it to access_token of later actions.
expires_inNumberSeconds until the access token expires, when Workday says.