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

Request storage and drop cookie on auth #308

Merged
merged 2 commits into from
May 27, 2024
Merged

Request storage and drop cookie on auth #308

merged 2 commits into from
May 27, 2024

Conversation

broody
Copy link
Contributor

@broody broody commented May 24, 2024

Fixes logging in on Safari, currently we use Storage Access API to enable cookies which is needed for our webauthn login flow. However, the UX is not ideal as we have to drop a cookie in a popup first (per Storage Access requirement) and then Safari will prompt user to allow cookie access. https://webkit.org/blog/11545/updates-to-the-storage-access-api/

Once CHIPS (cookies having independent partition state) is implemented in our backend it should resolve this poor UX.

Copy link

vercel bot commented May 24, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
cartridge-starknet-react-next ✅ Ready (Inspect) Visit Preview May 27, 2024 5:21pm
docs ✅ Ready (Inspect) Visit Preview May 27, 2024 5:21pm
keychain ✅ Ready (Inspect) Visit Preview May 27, 2024 5:21pm
ui ✅ Ready (Inspect) Visit Preview May 27, 2024 5:21pm
ui-next ✅ Ready (Inspect) Visit Preview May 27, 2024 5:21pm

@broody broody force-pushed the login-cookie branch 2 times, most recently from c260dd5 to 9c4449a Compare May 24, 2024 22:10
@broody broody changed the title Drop cookie on login Request storage and drop cookie on login May 24, 2024
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.

1 participant