GetOAuthAuthorizationURL
Generates the authorization URL that a user must visit to grant application access during the OAuth authentication process.
Input
| Name | Type | Description |
| CallbackUrl | String | The redirect URL where the user is sent after authorizing your application. This must exactly match the Redirect URL defined in your Box app settings. |
| Scope | String | A comma-separated list of scopes (permissions) your application is requesting from the user. Refer to the Box API for supported scope values. |
| Grant_Type | String | Specifies the authorization grant type for the OAuth flow. Common values include 'authorization_code' or 'client_credentials'.
The allowed values are code, token. The default value is code. |
| State | String | An optional value that is passed through the OAuth flow and returned unchanged by Box. Often used to preserve application state, identify a session, mitigate CSRF attacks, or redirect the user to a specific resource after authorization. |
Result Set Columns
| Name | Type | Description |
| URL | String | The generated authorization URL. Direct the user to this URL in a browser so they can grant access to your app and obtain the authorization verifier token. |