question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Avoid user verification

See original GitHub issue

The server uses preferred for the userVerification option when creating credentials. With this value, the native Windows implementation (used by Edge, and starting with Windows 1903, Chrome and Firefox as well) will require user verification if supported. If a security key supports a pin and does not have one set, the user will be required to create one. Having to set a pin to try out a simple demo is bit annoying and wouldn’t be that bad on it’s own, but unfortunately it ends up creating bunch of future annoyances:

  • Once a pin is set it, Windows seems to require it for all credential creation via the Webauthn API (but not U2F for some reason), even if userVerification is discouraged and the security key itself doesn’t require the pin.
  • After setting a pin, all sites that don’t explicitly set userVerification to discouraged suddenly require pin entry.
  • On YubiKeys, the pin can’t be removed without a reset, so you’re stuck with it after trying the demo.

I recommend changing this option to discouraged to streamline the demo and avoid triggering the above issues. The same should be done for credential validation where userVerification is currently unspecified and defaults to preferred. In that case it would just be to streamline the demo; I’m not aware of any problems caused by the default value.

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:5
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

2reactions
smiller171commented, Oct 11, 2019

I actually think preferred is the correct option here as logging in with a single factor (even a security key) is not good practice. I don’t think Duo should be doing the wrong thing here, even for a demo, in order to hide bad implementations in other systems.

There should at least be an option to ask for userverification so that pin entry can be tested.

2reactions
nicksteelecommented, Jul 12, 2019

Thanks @billybednar, putting a PR together for this now.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Bypass user verification - WordPress.org
Hi, I am using a User verification plugin https://wordpress.org/plugins/user-verification/ Any code snippets that can auto… ... Bypass user verification.
Read more >
How to Bypass Login Verification in Salesforce - Roycon
In today's video, we'll show you how you can bypass login verification in Salesforce using the Login IP Ranges feature under Setup.
Read more >
Avoid account lockouts when 2-Step Verification is enforced
To avoid account lockouts, put users in a configuration group where 2-Step Verification isn't enforced until they can enroll.
Read more >
How to Bypass Login Verification in Salesforce - YouTube
In this video, we'll show you how to bypass login verification in Salesforce. If you or other users are consistently logging in from...
Read more >
How to temporarily bypass user profile verification
Without verification, its possible for an attacker to request access to files and impersonate another user. However, under certain circumstances, the ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found