You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 676cc1f
Browse filesBrowse the repository at this point in the historyBrowse files
Harden OAuth issuer-binding and step-up scope on edge-case paths
Three follow-up fixes to the SEP-2352 / SEP-2350 work:
- Backfill an omitted token-response `scope` with the requested scope
(RFC 6749 §5.1/§6) before persisting, so the SEP-2350 step-up union
still recovers prior grants after a process restart when the
authorization server omits `scope` because granted == requested.
Applied to both the authorization-code and refresh response handlers.
- Clear cached `oauth_metadata` when the SEP-2352 issuer-mismatch block
discards bound credentials, so a subsequent ASM-discovery failure for
the new authorization server cannot leave the old server's
registration/token endpoints in place for Step 4.
- Re-evaluate the SEP-2352 issuer-binding check against
`oauth_metadata.issuer` after ASM discovery on the legacy no-PRM path
(PRM discovery failed, AS found via root well-known fallback),
mirroring the existing stamping-side fallback so stale credentials are
still discarded when the binding can only be learned post-ASM.
0 commit comments