Comments (10)
did you use HTTPS?
from twofactor_u2f.
Yes, I did use https.
from twofactor_u2f.
I tried it again with firefox with the U2F addon and that doesn't work either on my internal ip. My U2F device doesn't even get triggered using firefox.
from twofactor_u2f.
please check your browser's developer console. it should log the error code
from twofactor_u2f.
I dissabled all my addons in chromium with no effect.
In the developer console I found:
jquery-migrate.min.js?v=27fd071…:2 JQMIGRATE: Migrate is installed, version 1.4.0
challenge.js:10 sign: Array[1]
challenge.js:14 Authenticate callback Object
challenge.js:16 U2F auth failed: 4
(anonymous) @ challenge.js:16
from twofactor_u2f.
challenge.js:16 U2F auth failed: 4
interesting: https://developers.yubico.com/U2F/Libraries/Client_error_codes.html 🤔
from twofactor_u2f.
ah, did you maybe register your key with a different domain than the local one you've used to sign in?
from twofactor_u2f.
Ah, yes I registered it using my domainname.
I used a backup code to login and registered the key using my internal ip.
Logged out and U2F is working fine using my internal IP.
So no bug, just expected behaviour.
Now I have to find a way to register more then one U2F key.
I remember some posts about that so I will dig in to that.
Thank you for you comments and very fast response.
from twofactor_u2f.
Great!
Now I have to find a way to register more then one U2F key.
I remember some posts about that so I will dig in to that.
see #15 😉
from twofactor_u2f.
So u2f is registered by domain? I just came across this issue today and thought it was a bug. Luckily I stumbled across this by searching online.
This really should be added as a note to the README. Something along the lines of "you will have to register a key for local domain and public domain."
Is there a reason why the U2F registered key is by domain name and not by account? Some sort of security concern?
from twofactor_u2f.
Related Issues (20)
- Support for NC24 and PHP8.1 HOT 7
- Webauthn in Nextcloud does only provide 1FA, not 2FA, thus it should not be recommended as a successor to this app HOT 2
- Replace lint.yml with split workflows HOT 1
- PHP with a version lower than 8.0 is required. HOT 2
- Trust browser after success HOT 1
- Can not add Yubico Key 5 NFC HOT 6
- How to disable ? HOT 1
- Verified working with GoTrust IdemKey HOT 2
- Issue with Safari HOT 5
- U2F "Adding device" hang HOT 17
- Use shared browserslist config
- Unable to Add YubiKey HOT 3
- Rename existing U2F device
- U2F device can not work with chromium-based Edge browser with Errorcode: unknown. HOT 7
- U2F API is being deprecated HOT 32
- Login hangs on Chrome (Android) HOT 2
- Please help me develop a two factor auth app
- Drop Nextcloud 20 support
- Using U2F along with WebDav/CalDav HOT 1
- Google Chrome U2F API decommission HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from twofactor_u2f.