Authentication

Authentication options for the Core Exchange API

The Core Exchange API accepts an access token as a bearer token, for example curl -H 'Authorization: Bearer <ACCESS_TOKEN>'. Plaid obtains that token through an OAuth 2.0 authorization code flow, with OpenID Connect (OIDC) strongly recommended.

As the Data Provider, you implement the authorization server and Plaid acts as the OAuth client. Plaid discovers your endpoints from your /.well-known/openid-configuration document rather than using fixed URLs, so the values below are whatever you advertise there. See OAuth server setup for the full list of required properties.

Discovery propertyPurpose
authorization_endpointHosts your login page, where the consumer authenticates.
token_endpointExchanges an authorization code for an access token, ID token, and refresh token.
userinfo_endpointReturns the user identifier when there's no ID token or no jwks_uri; plain OAuth 2.0 implementations supply it via /customers/current instead.
jwks_uriPublishes the public keys Plaid uses to verify the id_token signature.

Scopes

OIDC implementations must support openid and offline_access at a minimum; plain OAuth 2.0 implementations require offline_access. Plaid also requests the data scopes Account, Customer, and Transaction when your discovery document lists them.

Related guides