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

"Failed to activate face or touch unlock" occurs on Mac with RoboForm Password Manager #206

Open
k-kazuya0926 opened this issue Oct 5, 2024 · 5 comments

Comments

@k-kazuya0926
Copy link

Hello, I tried Implement Passwordless authentication with Amazon Cognito and WebAuthn.
Then I got "Failed to activate face or touch unlock" errors on my Mac(M3 Pro).
I got them both on Chrome and Safari.
But I didn't get them on my iPhone 12.
I'd like you to help me.

amazon-cognito-passwordless-auth

0.14.2

M3 Mac Pro

Sonoma 14.7

Chrome

Version 129.0.6668.90 (Official Build) (arm64)

Screenshot 2024-10-05 at 14 10 51
Screenshot 2024-10-05 at 14 11 09
Screenshot 2024-10-05 at 14 11 18

Safari

Version 18.0 (19619.1.26.111.10, 19619)
Screenshot 2024-10-05 at 14 15 52

iPhone 12

iOS 17.6.1

Safari

@ottokruse
Copy link
Contributor

ottokruse commented Oct 7, 2024

Do you have a browser plug in that intercepts passwords? That's a reason I have seen for weird behaviors like that.

Probably triggered by this:

if (
!(credential instanceof PublicKeyCredential) ||
!(credential.response instanceof AuthenticatorAttestationResponse)
) {

We could exchange the instanceof checks for structural checking.

@k-kazuya0926
Copy link
Author

@ottokruse
Thank you very much!
I'm using RoboForm Password Manager plugin.
I disabled it and tried again, then I succeeded to register an authenticator!

We could exchange the instanceof checks for structural checking.

I recognized that if you would do it, I will be able to register an authenticator using RoboForm Password Manager plugin.
If yes, I'm glad if you would do it!

@ottokruse
Copy link
Contributor

Pretty annoying that password managers inject themselves in such non-transparent ways. Seen this with 1password before as well.

@k-kazuya0926
Copy link
Author

@ottokruse
I understand.
Just to be sure, is it possible that you fix this problem?

@ottokruse
Copy link
Contributor

Possible yes but if you want to expedite it feel free to send a PR

@ottokruse ottokruse changed the title "Failed to activate face or touch unlock" occurs on Mac "Failed to activate face or touch unlock" occurs on Mac with RoboForm Password Manager Oct 10, 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

No branches or pull requests

2 participants