Accounts

Exchange External JWT for Access Token

Exchange an external IdP JWT for a Lamin access token.

The external token is verified against the app's JWKS and mapped to a Lamin account by email. The external token itself is the credential.

Permissions: Requires a valid JWT issued by the configured external app.

post/account/jwt/exchange

Request

  • Base URL: https://lamin.ai/api
  • URL: https://lamin.ai/api/account/jwt/exchange
  • Auth: none declared

Request body

audiencestring required

Audience (aud claim) of the external JWT being exchanged, identifying the trusted external app (e.g. 'aevidence_validate').

tokenstring required

External IdP JWT to exchange for an access token.

Response

Access token exchange response.

object required

Changes

No recorded changes to this operation across all 1 revision of this API.