mirror of
https://github.com/suitenumerique/django-lasuite
synced 2026-04-25 17:15:14 +02:00
The RefreshOIDCAccessToken middleware was checking for `oidc_token_expiration` in the session, but mozilla-django-oidc sets `oidc_id_token_expiration`. This caused the middleware to always think the token was expired (defaulting to 0), triggering unnecessary token refreshes on every request. This fix aligns the session key name with mozilla-django-oidc's convention. Fixes suitenumerique/messages#487