Skip to content

2.0.1: accept presented_jti with person_token_jti fallback - #7

Merged
dickhardt merged 1 commit into
mainfrom
presented-jti-fallback
Sep 1, 2026
Merged

2.0.1: accept presented_jti with person_token_jti fallback#7
dickhardt merged 1 commit into
mainfrom
presented-jti-fallback

Conversation

@dickhardt

Copy link
Copy Markdown
Member

Spec issue dickhardt/AAuth#95 renamed the resource token claim person_token_jtipresented_jti. @aauth/resource 2.1.0 dual-emits both names (aauth-dev/packages-js#23); this makes mockin's step-6 verifier prefer the canonical presented_jti and keep accepting the pre-rename alias, so a resource emitting only the new name verifies.

Tests: new acceptance cases for presented-only and dual-emit tokens; 218 passing.

🤖 Generated with Claude Code

https://claude.ai/code/session_01Hb3JdCGpyWkWVYsH51j1yU

…e #95)

Resources dual-emit both names during the transition (@aauth/resource
2.1.0); the verifier prefers the canonical presented_jti and keeps
accepting the pre-rename alias.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Hb3JdCGpyWkWVYsH51j1yU
@dickhardt
dickhardt merged commit 87cf71c into main Sep 1, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant