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
Authorization server: require the issuer as the only aud of a private_key_jwt client assertion #7039
newClientAssertionAudienceConfig (pkg/authserver/server/private_key_jwt_client_auth.go) accepts a client assertion whose aud is the issuer or the token endpoint URL, or an array that contains either. #6946 said a later release would require the issuer as the only value. Mecatl's broker design requires the same (credentials-and-lifecycle.md, step 5).
Change
Add an option that accepts only an aud that is the issuer, as a single string.
fosite checks only that one of the accepted URLs is among the aud values, so rejecting an array needs its own check.
Decide where the option lives (RunConfig only, or also a CRD) and what the default is, so existing clients that send the token URL can migrate.
Acceptance
With the option on, an assertion whose aud is the token endpoint URL, or an array with an extra value, gets 401 invalid_client and no token is issued. With it off, behavior is unchanged.
Activity
Require the issuer as the only client aud
Require the issuer as the only client aud (stacklok#7213)