ODBC Driver for Azure Cosmos DB

Build 24.0.9062

GetOAuthAuthorizationURL

Gets the CosmosDB authorization URL. Access the URL returned in the output in a Web browser. This requests the access token that can be used as part of the connection string to CosmosDB.

Input

Name Type Description
CallbackUrl String The URL that CosmosDB will return to after the user has authorized your app.
Scope String The scope or permissions you are requesting.
State String This field indicates any state that 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 CosmosDB authorization server and back. Uses include redirecting the user to the correct resource in your site, using nonces, and mitigating cross-site request forgery.
Prompt String 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 URL to be entered into a Web browser to obtain the verifier token and authorize the data provider with.

Copyright (c) 2024 CData Software, Inc. - All rights reserved.
Build 24.0.9062