GetOAuthAccessToken
Gets an authentication token from SAP SuccessFactors.
Input
| Name | Type | Required | Description |
| AuthMode | String | False | The type of authentication mode to use. The allowed values are APP, WEB. |
| Verifier | String | False | The verifier token returned by the Identity Provider after using the URL obtained with GetOAuthAuthorizationURL. Required for only the Web AuthMode. |
| CallbackUrl | String | False | The URL the user will be redirected to after authorizing your application. |
| State | String | False | Any value that you wish to be sent with the callback. |
| Prompt | String | False | Defaults to 'select_account' which prompts the user to select account while authenticating. Set to 'None', for no prompt, 'login' to force user to enter their credentials or 'consent' to trigger the OAuth consent dialog after the user signs in, asking the user to grant permissions to the app. Applicable only to the 'AzureAD' AuthScheme. |
Result Set Columns
| Name | Type | Description |
| OAuthAccessToken | String | The access token used for communication with SAP SuccessFactors. |
| ExpiresIn | String | The remaining lifetime on the access token. A -1 denotes that it will not expire. |
| OAuthRefreshToken | String | The refresh token that is used to obtain a new access token from the Identity Provider. Applicable only to 'AzureAd' and 'SapIas' AuthSchemes. |