.. _sessionmanagement: Session Management ################## The `OpenID Connect Session Management 1.0 `_ specification complements the core specification by defining how to monitor the End-User's login status at the OpenID Provider on an ongoing basis so that the Relying Party can log out an End-User who has logged out of the OpenID Provider. Setup ===== Somewhere in your Django ``settings.py``:: MIDDLEWARE_CLASSES = [ ... 'oidc_provider.middleware.SessionManagementMiddleware', ] OIDC_SESSION_MANAGEMENT_ENABLE = True Example RP iframe ================= :: RP Iframe