Skip to content

Support explicit actor_token and id_token subject type in token exchange #5815

Closed

Description

@jhrozek

Part of #5194.

Adds RFC 8693 actor_token support: the agent can present its own token (actor_token) alongside the user's token (subject_token), bound to the authenticated client ID to prevent replay. Also accepts id_token as a valid subject_token_type.

  • resolveActorIdentity: validates actor_token against the AS's own JWKS, binds actor_token.sub to the authenticated client ID
  • Falls back to the authenticated client identity when no actor_token is provided (existing behavior, now explicit)
  • id_token accepted as subject_token_type (excluded for actor_token_type — an actor presents a bearer credential, not an identity assertion)

Includes follow-up design notes on two known gaps, both documented in docs/arch/:

  • the act claim is still flat-overwritten on re-exchange, blocking true multi-hop delegation (prerequisite for a future 2-leg exchange)
  • act.sub is a raw client_id rather than the SPIFFE-shaped identity Cedar policies expect (open design question, deferred pending the agent identity model)

Branch: token-delegation-4-actor-token

Activity

  1. added
    enhancement
    go
    on Jul 15, 2026
  2. added
    needs-triage
    on Jul 15, 2026
  3. removed
    needs-triage
    on Jul 15, 2026
  4. self-assigned this
    on Aug 14, 2026
  5. added 3 commits that reference this issue on Aug 14, 2026
    162e8a6
    5fca785
    38a1f10
  6. added a commit that references this issue on Aug 19, 2026
    a354091
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

authenticationauthorizationenhancementgo

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions