GetOAuthAuthorizationUrl
Gets the authorization URL that must be opened separately by the user to grant access to your application. Only needed when developing Web apps.
Input
Name | Type | Required | Description |
CallbackUrl | String | False | The page to return the user after authorization is complete. |
Scope | String | False | The scope of access to Snowflake. The scope parameters in the initial authorization request optionally limit the operations and role permitted by the access token, the default scope was refresh_token. |
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 open the OAuth consent dialog, which asks users to grant permissions to the application after sign on. |
Result Set Columns
Name | Type | Description |
Url | String | The authorization url. |
PKCEVerifier | String | A random value used as input for GetOAuthAccessToken in the PKCE flow. |