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. You will request the OAuthAccessToken from this URL.
Input
Name | Type | Description |
CallbackUrl | String | The URL the user will be redirected to after authorizing your application. This value must match the Callback URL in the Bitbucket app settings. |
State | String | Indicates any state which may be useful to your application upon receipt of the response. Your application receives the same value it sent, as this parameter makes a round-trip to the Bitbucket authorization server and back. Uses include redirecting the user to the correct resource in your site, nonces, and cross-site-request-forgery mitigations. |
Result Set Columns
Name | Type | Description |
URL | String | The authorization URL, which can be entered into a Web browser to obtain the verifier token (code parameter) and authorize your app. |