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 trigger the OAuth consent dialog after the user signs in, asking the user to grant permissions to the app. |
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. |