You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We set up Rocket with external OAuth using Keycloak. When Keycloak is configured for second factor authentication using Webauthn, authentication fails with the Rocket native Android app.
On the phone visit https:///realms//account/#/security/signingin and click "Set up security Key" -> Register and add the phone as a second factor.
Open Rocket Android app and enter the workspace name.
Click on "Continue with Keycloak Login"
Provide credentials to Keycloak
Try WebAuthn Authenticator as second factor
Expected behavior:
WebAuthn should work. When I log in with Chrome on the same phone I am asked for the screen pin and the phone successfully authenticates using WebAuthn with Keycloak.
Actual behavior:
Response "Failed to authenticate by the Security Key" from Keycloak.
The best would be to open external OAuth authentification links using the device browser instead of opening them inside the app. Most other apps when configured with OIC or OAuth follow this approach.
The text was updated successfully, but these errors were encountered:
Hey. We have plans to make it possible to make login on external browsers which would add support to physical security keys to all services (we did it to Google already #2703#2284), but we can't do it right now, sadly. There are more important items atm.
That's a shame. Rocket.Chat is the last service we have that doesn't work nicely with Passkeys, and the only reason we still have to support TOTPs for MFA, so we'd love to see that change at some point.
Do you have any idea when you'll get around to it? Any sort of roadmap, or is it purely "we'll get around to it eventually, hopefully"? (It's understandable if it's the latter, though obviously I'm hoping for something more concrete.)
Description:
We set up Rocket with external OAuth using Keycloak. When Keycloak is configured for second factor authentication using Webauthn, authentication fails with the Rocket native Android app.
Environment Information:
Steps to reproduce:
Expected behavior:
WebAuthn should work. When I log in with Chrome on the same phone I am asked for the screen pin and the phone successfully authenticates using WebAuthn with Keycloak.
Actual behavior:
Response "Failed to authenticate by the Security Key" from Keycloak.
Probably the reason is that Android Webview does not support webauthn, see https://groups.google.com/a/chromium.org/g/blink-dev/c/qCJhuuZH5p0 .
Additional context:
The best would be to open external OAuth authentification links using the device browser instead of opening them inside the app. Most other apps when configured with OIC or OAuth follow this approach.
The text was updated successfully, but these errors were encountered: