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
Some apps must accept tokens only from specific clients, not by audience. Example: TES backends behind the proTES gateway should accept only tokens obtained by proTES, whose audience isn't predictable when the token is issued. LS Login identifies the client in the client_id claim (RFC 9068; there's no azp). FOCA can only check aud today.
How?
Add an option to security.auth (e.g. clients) listing the accepted client IDs, checked against client_id (and azp where an identity provider uses that).
It can be used instead of audience (with verify_audience: false) or in addition to it; adjust the startup check that requires an audience for trusted issuers accordingly.
Tokens from other clients are rejected with 401.
Acceptance criteria
Tokens whose client isn't listed are rejected; tests cover client_id, azp and missing claims.
Configuring clients without audience passes the startup check; documented.
Activity
uniqueg commentedon Oct 21, 2026
Done in #364.