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

Login with passkey design revamp due to storage partitioning #228

Open
esaminu opened this issue May 2, 2024 · 0 comments
Open

Login with passkey design revamp due to storage partitioning #228

esaminu opened this issue May 2, 2024 · 0 comments
Assignees
Labels
Emerging Tech Emerging Tech flying formation at Pagoda Near BOS NEAR BOS team at Pagoda

Comments

@esaminu
Copy link
Collaborator

esaminu commented May 2, 2024

Description

Since storage partitioning was added to chrome and exists in Safari, we are no longer able to access localStorage from an iframe and can therefore no longer access the webauthn_username value that was used to keep track of the user logged in to the signer app.

To fix this #207 added a passkey prompt that gets triggered when the user focuses on the email address input. If the user selects a passkey when they are prompted, the login flow will resume with that key, otherwise the user can dismiss the prompt and enter an email address in order to be redirected to the verify email page.

This ticket will track the design decision making on how we should manage the option of passkey sign in vs sign in with email given the storage partitioning changes.

image
@esaminu esaminu added Emerging Tech Emerging Tech flying formation at Pagoda Near BOS NEAR BOS team at Pagoda labels May 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Emerging Tech Emerging Tech flying formation at Pagoda Near BOS NEAR BOS team at Pagoda
Projects
Status: Backlog
Development

No branches or pull requests

3 participants