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
FOCA accepts any signed JWT from a trusted issuer as an access token, including ID tokens: it doesn't check the JWT typ header. RFC 9068 (JWT profile for OAuth 2.0 access tokens) has resource servers require typ: at+jwt (or application/at+jwt) precisely so that other JWTs, such as ID tokens, can't be used as access tokens. LS Login issues RFC 9068 access tokens (typ: at+jwt).
How?
Add an option to security.auth (e.g. token_types: ["at+jwt", "application/at+jwt"]) listing the accepted typ header values; tokens with another or no typ are rejected with 401.
Decide the default: on for new configurations, with a clear error and a way to turn it off for identity providers that don't set typ. Mention it in the release notes if it changes behaviour.
Document it next to the other security.auth options.
Acceptance criteria
With the option set, JWTs without an accepted typ (e.g. ID tokens) are rejected with 401; tests cover both cases.
Documented, including how to disable it.
Context: ELIXIR On-Cloud auth policy (Krini → proTES/Conquest → TES), which validates LS Login access tokens at every service.
Activity
uniqueg commentedon Oct 21, 2026
Done in #361.