Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged
merged 1 commit into from
Jul 21, 2023

Conversation

cecilialau6776
Copy link
Contributor

@cecilialau6776 cecilialau6776 commented Jun 5, 2023

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.

Copy link
Member

@aebruno aebruno left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for updating the docs. We've had several users ask about this. Much appreciated!

@aebruno aebruno merged commit 954d2c5 into ubccr:main Jul 21, 2023
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