HomeSoftware Heritage

django: Add OIDCSessionExpiredMiddleware

This commit no longer exists in the repository. It may have been part of a branch which was deleted.

Description

django: Add OIDCSessionExpiredMiddleware

That middleware detects when a user previously logged in using
the OpenID Connect authentication backend got his session expired.

In that case it will perform a redirection to a django view whose
name must be set in the SWH_AUTH_SESSION_EXPIRED_REDIRECT_VIEW
django setting (typically a logout view).

Related to T3150

Details

Commit No Longer Exists

This commit no longer exists in the repository.