JDBC Driver for Microsoft Dynamics CRM

Build 23.0.8839

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.

Input

Name Type Description
OAuthServerUrl String The url which located the ADFS server.
CallbackUrl String The page to return the user after authorization is complete.
Grant_Type String The type of authorization to be granted for your app. If this is set to code, the stored procedure will return an authorization URL containing the verifier code in a query string parameter, which you will need to submit back with the GetOAuthAccessToken stored procedure. Implicit will cause the OAuth access token to be returned directly in the URL.

The allowed values are Implicit, Code.

State String Any value that you wish to be sent with the callback.
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 authorization url.

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