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
authn: refuse authorization grants as access tokens by default #596
Why. An authorization grant (an ID-JAG, typ: oauth-id-jag+jwt, or a Workload Authorization Grant, typ: oauth-wag+jwt) is redeemed at an authorization server. It is not an access token. ToolHive refuses both when
they're presented as an access token or a subject token. authn's default deny list has the ID-JAG type but not the
WAG type, so authn accepts a WAG as an access token unless the caller sets a typ policy.
What. Add the WAG type to jose, plus a check that recognises either grant type. Add WAG to the default deny
list.
Done when. A WAG and an ID-JAG are refused as access tokens by default, in any spelling RFC 7515 allows.
Activity