GetOAuthAuthorizationUrl
Retrieves the OAuth Authorization URL, allowing the client to direct the user's browser to the authorization server and initiate the OAuth process.
Input
| Name | Type | Description |
| CallbackUrl | String | The URL to redirect the user to after they authorize the app. This must match the redirect URI configured in your Salesforce app settings. |
| Scope | String | A space-separated list of permission scopes your application is requesting. These determine the level of access granted to your app, such as 'api' for API access or 'refresh_token' for the ability to refresh tokens. For more information, see: http://help.salesforce.com/help/doc/en/remoteaccess_oauth_scopes.htm. |
| Grant_Type | String | Specifies the OAuth flow to use. Set to 'code' for the authorization code flow (requires token exchange), or 'implicit' to return the access token directly in the redirect URL.
The allowed values are Implicit, Code. |
| State | String | A custom value your application can include to help maintain state or prevent CSRF attacks. This value will be returned unchanged in the callback. |
| PKCEVerifier | String | A high-entropy cryptographic random string used in PKCE flows for enhanced security. Required when using AuthScheme=OAuthPKCE. |
Result Set Columns
| Name | Type | Description |
| PKCEVerifier | String | The generated high-entropy code verifier used in PKCE authentication flows. This value should be saved and reused when exchanging the authorization code for a token. |
| Url | String | The authorization URL the user should visit to grant access. This URL includes query parameters such as client ID, redirect URI, and requested scopes. |