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

Sessions logged out randomly on iPhone #53

Closed
toepoke opened this issue Jul 18, 2024 · 1 comment
Closed

Sessions logged out randomly on iPhone #53

toepoke opened this issue Jul 18, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@toepoke
Copy link
Owner

toepoke commented Jul 18, 2024

Started to see this a few weeks ago, others have a similar experience.

The discussion below suggests a workaround of setting the SameSite cookie to None rather than Lax.

https://bugs.webkit.org/show_bug.cgi?id=255524

Lax is more secure and should only be used as a temporary workaround. Perhaps only target iPhone user-agents* and place behind a feature flag so we can easily revert to Lax should the issue be fixed in the future.

There seems to be some contention between setting SameSite to None or nothing at all may resolve the issue. Make the feature flag SameSite configuration item a value so we can easily experiment (i.e. have a known "Null" value we interpret as not setting SameSite at all).

* The problem manifests on Chome on iPhone too, probably because they have to use WebKit - though this may be changing, but only in the EU - ruling the out the UK

@toepoke toepoke added the bug Something isn't working label Jul 18, 2024
@toepoke
Copy link
Owner Author

toepoke commented Aug 14, 2024

Think I've finally got to the bottom of this!

@toepoke toepoke closed this as completed Aug 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant