Skip to content

Enumeration: TokenExchangeCredentialsLocation

Defined in: types.ts:631

Where to pass the client credentials (client ID and client secret) when making the OAuth2 token exchange request. Used in OAuth2Authentication.credentialsLocation.

Enumeration Members

AuthorizationHeader

AuthorizationHeader: "AuthorizationHeader"

Defined in: types.ts:648

The credentials are passed in the Authorization header using the Basic scheme.


Automatic

Automatic: "Automatic"

Defined in: types.ts:637

Allow Coda to determine this automatically. Currently that means Coda tries passing the credentials in the body first, and if that fails then tries passing them in the Authorization header.


Body

Body: "Body"

Defined in: types.ts:643

The credentials are passed in the body of the request, encoded as application/x-www-form-urlencoded along with the other parameters.