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 | Required | Description |
| CallbackUrl | String | True | The redirect URL to which the Veeva Vault authentication provider will send the authorization response. This URL must match one of the redirect URIs registered for the application in Veeva Vault and is critical for completing the OAuth authorization flow. |
| State | String | False | A client-defined value used to maintain state between the request and callback. This parameter is returned in the response from Veeva Vault to prevent cross-site request forgery attacks and to preserve the context or session information across the OAuth flow. |
| Prompt | String | False | Specifies the type of user interaction that is required during authentication. Acceptable values include 'select_account' to allow users to choose among multiple accounts, 'login' to force the user to enter credentials again, 'consent' to re-prompt for application permissions, or 'none' to proceed silently if the user is already signed in. |
Result Set Columns
| Name | Type | Description |
| URL | String | The fully constructed OAuth 2.0 authorization URL that the user must open in a browser to initiate the authentication and authorization process. This URL includes query parameters such as response_type, client_id, redirect_uri, state, and prompt, and ultimately allows the user to grant the application access permissions. |