Riël Notermans cc690ae9d2 🐛(oidc) use correct session key for token expiration check
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
2026-01-27 13:17:05 +01:00
2025-12-08 15:01:17 +01:00
2025-12-08 15:03:18 +01:00
2025-10-24 13:27:39 +02:00
2025-05-06 18:35:37 +02:00
2025-03-29 08:55:01 +01:00
2025-02-06 10:34:39 +01:00
2026-01-14 15:01:55 +01:00
2025-03-29 08:55:01 +01:00
2025-03-29 08:55:01 +01:00

Django La Suite

A Django library for the common requirement for the "La Suite numérique" projects.

Installation

pip install django-lasuite

Quick Start

To be documented with the first implementations.

Development

Requirements

For this project, we use uv Python package manager. Please follow the installation guidelines on the uv documentation.

Setup

# Clone the repository
git clone https://github.com/suitenumerique/django-lasuite.git
cd django-lasuite

# Install development dependencies
make install-dev

Testing

make test

Code Quality

make lint

License

MIT License

Description
Mirrored from GitHub
Readme MIT 639 KiB
Languages
Python 99%
Makefile 0.9%