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

Authentication fails with "User gesture is not detected" #676

Open
plitzenberger opened this issue Jun 10, 2022 · 2 comments
Open

Authentication fails with "User gesture is not detected" #676

plitzenberger opened this issue Jun 10, 2022 · 2 comments

Comments

@plitzenberger
Copy link

Steps to reproduce

User opens https://identity.ic0.app on iOS Safari and authenticates successfully
When he clicks "Logout"
And clicks "Authenticate" again
Then the UI displays "Failed to authenticate"

Observe warning in console:

User gesture is not detected. To use the WebAuthn API, call 'navigator.credentials.create' or 'navigator.credentials.get' within user activated events.

UI state:

@nmattia
Copy link
Collaborator

nmattia commented Jun 13, 2022

Thanks for the report, I was able to reproduce it, although surprisingly it works when cliking "Logout" after creating the anchor; upon second logout however I get the same error.

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

No branches or pull requests

3 participants
@plitzenberger @nmattia and others