internet-identity icon indicating copy to clipboard operation
internet-identity copied to clipboard

Authentication fails with "User gesture is not detected"

Open plitzenberger opened this issue 2 years ago • 2 comments

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:

plitzenberger avatar Jun 10 '22 10:06 plitzenberger

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.

nmattia avatar Jun 13 '22 13:06 nmattia