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

Safari: registration failed: Bad Request: cannot decode key response (5) #55

Closed
euroxs opened this issue Oct 9, 2022 · 3 comments
Closed

Comments

@euroxs
Copy link

euroxs commented Oct 9, 2022

User Registration in Safari returns this error. Something goes wrong when checking the rpId hash?

Both Firefox and Chrome work fine. Also after registering in another browser, User Login does work in Safari.

@davidearl
Copy link
Owner

Presumably you're on a Mac, yes? OS version? what authenticator are you using - built-in fingerprint reader? Yubico key? Face ID?

I think Safari support for webauthn is quite recent. I know it works in iOS 15 and 16 Safari now, but I haven't checked Mac Safari recently.

@euroxs
Copy link
Author

euroxs commented Oct 9, 2022

I am using Safari 16 on macOS Monterey (12.6) with a Yubico key.

@davidearl
Copy link
Owner

OK, I can reproduce it, thanks. However, it appears to be a problem with Safari (I also have 16.0, 17614), as it works ok in the latest Safari Technology Preview 155 (16.4) also on Monterey 12.6. Whilst there may be a work round I could do, it doesn't seem worth it if they have already fixed the problem in the next release.

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