IXG Platform
Find a file
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
apps Make logout a POST and end the Keycloak session 2026-09-21 12:53:14 +00:00
docs Help centre: portal-scoped guide audiences, and links that resolve 2026-09-16 16:39:07 +00:00
dsp_platform Make logout a POST and end the Keycloak session 2026-09-21 12:53:14 +00:00
nginx Initial commit: IXG Platform 2026-07-29 16:48:48 +00:00
scripts Deployment hardening: HTTPS/CSRF settings, loopback-only app port, entrypoint passthrough 2026-09-16 16:39:07 +00:00
templates Make logout a POST and end the Keycloak session 2026-09-21 12:53:14 +00:00
.dockerignore Initial commit: IXG Platform 2026-07-29 16:48:48 +00:00
.gitignore Deployment hardening: HTTPS/CSRF settings, loopback-only app port, entrypoint passthrough 2026-09-16 16:39:07 +00:00
create_agent.py Initial commit: IXG Platform 2026-07-29 16:48:48 +00:00
docker-compose.yml Deployment hardening: HTTPS/CSRF settings, loopback-only app port, entrypoint passthrough 2026-09-16 16:39:07 +00:00
Dockerfile Initial commit: IXG Platform 2026-07-29 16:48:48 +00:00
manage.py Initial commit: IXG Platform 2026-07-29 16:48:48 +00:00
requirements.txt P99C: compliance automation - CoA auto-generation and EUDR due diligence 2026-08-05 13:58:39 +00:00
SESSION_CHECKPOINT.md Initial commit: IXG Platform 2026-07-29 16:48:48 +00:00