OIDC: Backchannel logout not containing exp
Describe the bug
Some oidc clients require exp to be part of the backchannel logout message.
For example: Matrix Authentication Server
To Reproduce
Setup OIDC with Matrix Authentication Server. Try Backchannel logout.
See the following in MAS logs:
WARN mas_handlers::upstream_oauth2::backchannel_logout:73 POST-8745 - invalid claims in logout token message.sources=[missing claim "exp"]
Expected behavior OpenIDC backchannel logout should be compatible with most implementations and either include exp by default, or have an option to add it
Version and Deployment (please complete the following information):
- authentik version: v2025.8.1
- Deployment: docker-compose
As explained by @sandhose authentik is missing quite a few required logout token claims: https://openid.net/specs/openid-connect-backchannel-1_0.html#LogoutToken
exp seems to be the only required one missing, which other ones are you missing?
https://github.com/goauthentik/authentik/pull/16593 fixes this and will be included in 2025.8.2
Thanks, I'll leave it at #16593 unless I face any other issues.