Skip to content

feature request: Support RFC 8693 Token Exchange for 3rd party jwt #8665

Description

@cloudfy

What problem did you meet?

Cannot conduct a RFC 8693 token exchange from a 3rd party JWT.

Example:
Provide a Microsoft Entra Id workload identity as jwt to exchange it for a Logto minted verification.

POST /oidc/token
Content-Type: application/x-www-form-urlencoded

grant_type=urn:ietf:params:oauth:grant-type:token-exchange
&client_id=your-app-id
&subject_token=<entraid-issued-subject-token>
&subject_token_type=urn:ietf:params:oauth:token-type:access_token
&resource=https://your-downstream-service.com
&scope=read

Describe what you'd like Logto to have

Provide option to configure token exchange configurations, allowing 3rd party token, allowing Logto to support RFC 8693 Token Exchange.

  • Logto must configure jwks or similar trust.
  • Logto could configure token exchange subject mapping.
  • Logto cloud configure to import the new [sub] as a user or entity.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions