Cmdlets for Workday

Build 22.0.8479


Use a custom OAuth app to authenticate with a user account. The procedures below are specific to normal user accounts, they are not necessary for ISUs because ISUs do not require an interactive login. See OAuth 認証の使用 for more information.

Desktop Authentication with a Custom OAuth App

Set the following properties to authenticate with the credentials for a custom OAuth app.

  • Set UseWQL, Host, and Tenant as usual.
  • InitiateOAuth: Set this to GETANDREFRESH. Use InitiateOAuth to avoid repeating the OAuth exchange and manually setting the OAuthAccessToken.
  • OAuthClientId: Set this to the client Id assigned when registering the OAuth app.
  • OAuthClientSecret: Set this to the client secret assigned when registering the OAuth app.

When connecting, the 本製品 opens the OAuth endpoint in the default browser. Log in and grant permissions to the application. The 本製品 then completes the OAuth process:

  1. Extracts the access token from the callback URL and authenticates requests.
  2. Refreshes the access token when it expires.
  3. Saves OAuth values in OAuthSettingsLocation to be persisted across connections.

Copyright (c) 2023 CData Software, Inc. - All rights reserved.
Build 22.0.8479