Skip to content

Cache Backend Object#15

Draft
ski7777 wants to merge 21 commits intothegcat:mainfrom
ski7777:cache
Draft

Cache Backend Object#15
ski7777 wants to merge 21 commits intothegcat:mainfrom
ski7777:cache

Conversation

@ski7777
Copy link
Contributor

@ski7777 ski7777 commented Dec 31, 2025

Please merge #14 before

This implements caching of the backend object achieving two goals:

  1. Discovery and JWKS retrieval is only run on one server and shared across servers
  2. Due to a set cache timeout the JWKS store is refreshed periodically

@ski7777
Copy link
Contributor Author

ski7777 commented Dec 31, 2025

This still needs some testing but is probably fine

thomasdarimont and others added 8 commits January 3, 2026 16:29
Introduce OIDCSession model to map Django sessions to OIDC session data,
enabling lookup and cleanup during back-channel logout.

Add oidc/backchannel_logout/ endpoint and delegate request handling to
OIDCAuthBackend. Logout token validation and session cleanup are handled
in process_backchannel_logout().

Back-channel logout support is disabled by default and must be enabled
via configuration (e.g. PRETIX_OIDC_BACKCHANNEL_LOGOUT=1).

Fixes thegcat#12

Co-authored-by: Raphael Jacob <r.jacob2002@gmail.com>
Signed-off-by: Raphael Jacob <r.jacob2002@gmail.com>
Signed-off-by: Raphael Jacob <r.jacob2002@gmail.com>
Signed-off-by: Raphael Jacob <r.jacob2002@gmail.com>
Signed-off-by: Raphael Jacob <r.jacob2002@gmail.com>
Signed-off-by: Raphael Jacob <r.jacob2002@gmail.com>
Signed-off-by: Raphael Jacob <r.jacob2002@gmail.com>
Signed-off-by: Raphael Jacob <r.jacob2002@gmail.com>
Signed-off-by: Raphael Jacob <r.jacob2002@gmail.com>
Signed-off-by: Raphael Jacob <r.jacob2002@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants