ixg_platform/apps/users
ixgadmin 8c8e7908fd Make logout a POST and end the Keycloak session
Clicking Logout returned 405: the base templates linked to the logout view
with a GET, which mozilla-django-oidc refuses. Both portals now post a CSRF
form instead.

A POST alone was not enough. OIDC_OP_LOGOUT_URL_METHOD is now set, so logout
builds the realm's RP-initiated end-session URL with the stored id token and
a registered post-logout redirect. Without it Keycloak kept its session and
silently signed the user back in, so the sign-in screen could never be
reached again on that browser.

Registered the post-logout redirect URIs on the ixg-platform client and
trimmed its redirect URIs to the callback on the hosts that actually serve
the platform.
2026-09-21 12:53:14 +00:00
..
migrations Initial commit: IXG Platform 2026-07-29 16:48:48 +00:00
__init__.py Initial commit: IXG Platform 2026-07-29 16:48:48 +00:00
admin.py Initial commit: IXG Platform 2026-07-29 16:48:48 +00:00
apps.py Initial commit: IXG Platform 2026-07-29 16:48:48 +00:00
auth.py Add public buyer self-registration 2026-09-21 11:30:29 +00:00
keycloak.py Add public buyer self-registration 2026-09-21 11:30:29 +00:00
models.py Initial commit: IXG Platform 2026-07-29 16:48:48 +00:00
oidc.py Make logout a POST and end the Keycloak session 2026-09-21 12:53:14 +00:00
serializers.py Restrict every data API to ops and admin 2026-09-17 15:53:44 +00:00
tests.py Make logout a POST and end the Keycloak session 2026-09-21 12:53:14 +00:00
urls.py Initial commit: IXG Platform 2026-07-29 16:48:48 +00:00
views.py Restrict every data API to ops and admin 2026-09-17 15:53:44 +00:00