-
Notifications
You must be signed in to change notification settings - Fork 6k
Support WebAuthn #5238
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
Comments
Hello @rwinch, |
@ynojima Thank you for reaching out (again) and pointing me to your comment! Sorry I had missed your comment. Let's move all of the discussion to here going forward. I'd love for you to send a pull request. I will review your proof of concept and pull request this week. Thanks again! |
Thank you for your reply, and here is a separate pull request to make a foundation for multi-factor authentication in spring security: #5196 |
Thanks! I'm taking a look at your sample now. |
Thank you for putting this together. I have tried the sample in both FireFox and Chrome. In Chrome 65.0.3325.181 with Web Authentication API I attempt to register my U2F FIDO key on the register page and it gives me the following error in my Boot application:
In FireFox 60.0b13 I am able to register the key, but then upon trying to use it to log in a modal dialog pops up very quickly and then disappears. I also see the following error the console
Can you please help me try to sort out these issues? |
Hi Rob, it seems Chrome 65.0.3325.181 has not implemented AttestationConveyancePreference(https://www.w3.org/TR/webauthn/#attestation-convey), which is used in the sample. Because of it, chrome 65 provides full authenticator attestation, which is optional in WebAuthn Candidate Recomendation, but my PoC cannot validate it for now. Chrome 66, which was released very recently(https://chromereleases.googleblog.com/2018/04/stable-channel-update-for-desktop.html), has implemented AttestationConveyancePreference. Regarding FireFox 60.0b13, which button in the login page did you use, "Login" or "Password-less Login"? For FIDO-U2F key, "Password-less Login" button doesn't work. It is for user verifying authenticator like finger print sensor. |
Thank you so much for your review to my pull request. I understand the importance of backward-compatibility. I made change to my patch to keep the existing interface as is. Could you check the design again? I agree with you that it is not appropriate time to merge the pull request since the user facing code is not ready, but spring-security-webauthn is built on the top of the pull request, I'd like to fix the design to handle multi factor authentication flow. |
Hi @rwinch, After your review comment, I made a lot of changes to my project (spring-security-webauthn).
There is still room to be improved in the sample application, but the library itself is feature complete for the initial release. I appreciate if you review spring-security-webauthn and the patch again. |
Is https://github.com/webauthn4j/webauthn4j-spring-security the new place or just an alternative to https://github.com/ynojima/spring-security-webauthn ? |
https://github.com/webauthn4j/webauthn4j-spring-security is a playground to test new design. |
Example implementation of WebAuthn and Spring Security using the Yubico libs https://github.com/asaikali/devnexus-2022/tree/main/webauthn-basics |
I found the https://github.com/rwinch/spring-security-webauthn project via the recent Spring One presentation. The readme mentions "... eventually be merged into Spring Security." The youtube comments of the Spring One presentation had a comment, possibly from @marcusdacoregio, that it might be ready for Spring Security 6.4. Is that the plan or will it more likely be 7.0? |
Summary
https://www.w3.org/TR/webauthn
Work on this was started in gh-6842 but stalled. The work is still in https://github.com/rwinch/spring-security-webauthn
The text was updated successfully, but these errors were encountered: