ubccr / coldfront

HPC Resource Allocation System
https://coldfront.readthedocs.io
GNU General Public License v3.0
96 stars 76 forks source link

Update mokey_oidc readme to include OIDC configuration without Mokey/Hydra integration #528

Closed cecilialau6776 closed 11 months ago

cecilialau6776 commented 1 year ago

I had an issue with using mozilla-django-oidc was that the user would log in with OIDC, get redirected to our provider, but ultimately get returned to the login failure url (/ by default) and not get logged in. The problem was that the sessionid cookie was not getting returned to us in Firefox, because the SESSION_COOKIE_SAMESITE setting is set to "Strict" in ColdFront's default settings in auth.py.

I fixed the problem by changing the setting to "Lax".

Also removed an extra newline at the start of the code block.