GetOAuthAuthorizationURL
Gets the URL, AuthToken, and AuthKey from Intuit. Access the URL returned in the output in an Internet browser. This request returns a verifier token that you will need to use as input along with the AuthToken and AuthKey for GetOAuthAccessToken.
Input
Name | Type | Description |
CallbackUrl | String | The URL that Intuit will return to after the user has authorized your app. |
Scope | String | The scope of access to QuickBooksOnline APIs. By default, you will only need access to the accounting API.
The default value is com.intuit.quickbooks.accounting. |
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 QuickBooksOnline authorization server and back. Uses include redirecting the user to the correct resource in your site, using nonces, and mitigating cross-site request forgery. |
Result Set Columns
Name | Type | Description |
URL | String | The URL to be entered into a Web browser to obtain the verifier token and authorize the add-in with. |
AuthToken | String | A token used as input for the GetOAuthAccessToken stored procedure to verify the request and get the access token. |
AuthKey | String | A key used as input for the GetOAuthAccessToken stored procedure to verify the request and get the secret key. |