- Token exchange (RFC 8693) at the enterprise IdP: exchange the user’s OpenID Connect ID token for an identity assertion JWT authorization grant (ID-JAG) scoped to the target MCP server.
- JWT-bearer grant (RFC 7523) at the MCP server’s authorization server:
present the ID-JAG under
grant_type=jwt-bearerto obtain the access token.
Properties
audience
aud against this.
authMethod?
client_secret_basic.
clientId
clientSecret?
client_secret_basic).
idpClientId
idpClientSecret?
idpTokenEndpoint
idToken
subject_token of the exchange).
Pass a string, or a callback to read a fresh one each fetch.
refreshBufferSeconds?
resource
resource against this.
scope?
store?
tokenEndpoint alone, with no client identity in it — use one store per
credential identity. Do not share a persistent store across two
EnterpriseManagedAuth instances that have different clientId/idToken
but the same tokenEndpoint; they will read and overwrite each other’s
cached tokens.