Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
Safari 12 redirects back to /accounts/login #1
I've been using the django-python3-saml code for GitHub for a while now. First off, thank you for open-sourcing the app. It helped my organization when no other solution did.
I've been seeing an issue with Safari 12.0 on Mac, iPhone, and iPad using django-python3-saml and the latest version of python3-saml, After successfully authenticating to my G Suite account, the Google SAML integration will redirect back to our Django site, successfully return from the
Have you seen this issue in your testing? I can go into more detail but don't want to take up your time if you've not experienced this before.
Turns out this has little to do with this project. When running Django >=2.1 and Safari 12.0 special consideration to the new
# Prevents the cookie from being sent in cross-site requests # Options are 'Lax' (default), 'Strict', and None # https://docs.djangoproject.com/en/2.1/ref/settings/#std:setting-SESSION_COOKIE_SAMESITE SESSION_COOKIE_SAMESITE = None # @todo Verify compatibility w/ Safari 12.0 in next Django version