Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
👽 Reduce the session cookie security to Lax
Ideally we set this to Strict, but the session cookie is now not sent during redirects from OIDC providers (like Google, Azure, Keycloak) after succesful authentication, causing crashes on our end because we don't have access to the OIDC state and therefore we have a broken reference to the OIDC config model being used. See mozilla/mozilla-django-oidc#497 for more information - in summary the best solution would be to set it to Strict, but temporarily reduce this to Lax during the OIDC flow (possibly via middleware), which will require overriding some django.contrib.sessions middleware.
- Loading branch information