-
-
Notifications
You must be signed in to change notification settings - Fork 5.6k
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
Do not limit FIDO/U2F usage based on user agent string #6152
Comments
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs during the next 2 weeks. Thank you for your contributions. |
What? Don't close. |
Unfortunately the U2F support check is part of the vendored library, and looking at the latest version of that library, it still explicitly locks out Safari. I see two ways this could be made to happen:
I'd be willing to take a stab at this if there is some agreement around one or the other option. |
As Safari 13.0 on macOS now has build in support for U2F and iOS 13.3 betas also including support, it would be great to make this work. |
My work on the WebAuthn conversion PR can be tracked here: #9451 |
I am 💯 in favor of the migration to WebAuthn. I will close this and track that issue. |
[x]
):Description
After enabling FIDO / U2F for an account on my Gitea server, I am not able to use U2F on Safari, even with the Safari FIDO U2F extension installed and enabled.
If I change my user agent in the developer settings to include Chrome, it works as expected
Gitea should not rely on user agent string at all to determine if U2F is available. Checking that
window.u2f
is non-null should be enough. (for example, it works fine with Github)The text was updated successfully, but these errors were encountered: