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

Support post-form submit option to prevent "intelligent" 3P cookie limits on Safari #369

Open
3 of 5 tasks
aeneasr opened this issue Feb 28, 2025 · 0 comments
Open
3 of 5 tasks
Labels
bug Something isn't working

Comments

@aeneasr
Copy link
Member

aeneasr commented Feb 28, 2025

Preflight checklist

Ory Network Project

No response

Describe the bug

Doing AJAX submits with cookie setting is triggering Safari's intelligent 3P cookie detection due to the use of CNAME / CNAME "cloaking".

Reproducing the bug

Submit a login flow using a custom domain in Ory Network.

Relevant log output

Relevant configuration

Version

master

On which operating system are you observing this issue?

None

In which environment are you deploying?

None

Additional Context

Ideally, we would keep AJAX submit and solve this in kratos so that users don't have to sign in again after 7 days. If that is not possible, we should offer an feature flag in Ory Elements to do the form submit using traditional HTML submit, as that doesn't trigger 3P cookie detection as it's considered 1P. That's the way it currently works in the current ory elements.

@aeneasr aeneasr added the bug Something isn't working label Feb 28, 2025
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