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
Support authorization_details (RFC 9396) in token exchange #6894
Problem: token exchange has no authorization_details support (RFC 9396). Session and schedule refresh tokens are each named by one authorization_details entry.
Change:
Parse authorization_details in token-exchange requests.
Validate against a registry of known types (session, schedule). Refuse unknown or malformed entries with invalid_authorization_details (RFC 9396 §5).
The response echoes what the type's hook grants. For the session and schedule types the hook returns the entry unchanged.
No other grant changes behaviour.
Acceptance: an unknown type is refused; a known entry is echoed back equal as a JSON value (the encoding may differ: the server compacts it and escapes <, > and &).
Activity
Add authorizationdetails package
Support authorization_details on token exchange
Support authorization_details on token exchange (#6921)