Tableau Connector for Salesforce

Build 25.0.9434

GetOAuthAccessToken

Fetches the OAuth Access Token, which is used to authenticate and authorize API calls made to Salesforce APIs.

Input

Name Type Description
Authmode String Specifies the authentication flow. Choose 'App' for desktop-based apps or 'Web' for browser-based apps using OAuth.

The allowed values are APP, WEB.

The default value is APP.

Verifier String The verification code returned by Salesforce after the user grants access, used to exchange for an access token.
Scope String A space-separated list of permission scopes the app is requesting access to, such as api, chatter_api, full, id, refresh_token, visualforce, and web. These determine what Salesforce data and functionality your app can access. For more information, see: http://help.salesforce.com/help/doc/en/remoteaccess_oauth_scopes.htm.
CallbackUrl String The redirect URI where Salesforce sends the user after they authorize the app.
Api_Version String The version of the Salesforce API to use when making authenticated requests.

The default value is 50.0.

State String A value included in the request that will be returned by Salesforce to help your app maintain state and guard against CSRF attacks.
GrantType String Specifies the OAuth grant type to use. Common values include 'authorization_code' and 'refresh_token'. If not specified, the default is determined by the connection settings.

The allowed values are CODE, PASSWORD.

PKCEVerifier String A secure, high-entropy value used in OAuth PKCE (Proof Key for Code Exchange) flows for additional security. Only used when AuthScheme=OAuthPKCE.

Result Set Columns

Name Type Description
Scope String The scopes that were approved and granted by the user for this access token.
Instance_Url String The Salesforce instance URL (such as https://na35.salesforce.com) associated with the access token. Use this as the base URL for API calls.
Id String The unique identifier of the authenticated user or organization, associated with the OAuth token.
Issued_At String The timestamp indicating when the access token was issued.
Signature String A digital signature that can be used to verify the integrity of the access token.
OAuthServerUrl String The URL of the Salesforce OAuth server that issued the token.
OAuthRefreshToken String A long-lived token used to request a new access token after the current one expires.
OAuthAccessToken String The short-lived token used to authenticate API requests to Salesforce.
ExpiresIn String The number of seconds until the access token expires. A value of -1 indicates the token does not expire.
PKCEVerifier String The same secure random string used in the PKCE flow to validate the authorization code exchange, returned here for reference.

Copyright (c) 2025 CData Software, Inc. - All rights reserved.
Build 25.0.9434