ODBC Driver for Linear

Build 26.0.9776

GetOAuthAccessToken

Exchanges a Linear authorization code for an OAuth 2.0 access token (and refresh token). Used with the authorization code flow (AuthScheme=OAuth).

Input

Name Type Required Description
AuthMode String False Whether to use an APP-based or WEB-based authentication flow.

The allowed values are APP, WEB.

The default value is APP.

Verifier String False The single-use authorization code Linear returned to the callback URL after the user granted consent.
CallbackURL String False The redirect URI registered with your Linear OAuth application; must match the one used to obtain the code.
Scope String False Comma-separated list of OAuth scopes (for example, 'read,write'). Defaults to the connection-level Scope property, or to 'read,write' when neither is set.

Result Set Columns

Name Type Description
OAuthAccessToken String The bearer token to include in the Authorization header on subsequent Linear API requests.
OAuthRefreshToken String The token used to obtain a new access token once this one expires.
ExpiresIn String The number of seconds the access token remains valid before it must be refreshed.
TokenType String The access token type. Linear returns 'Bearer'.

Copyright (c) 2026 CData Software, Inc. - All rights reserved.
Build 26.0.9776