passwordless login using yubikey with cef

Having problems with building or using CEF's C/C++ APIs? This forum is here to help. Please do not post bug reports or feature requests here.

passwordless login using yubikey with cef

Postby Yubtest » Mon Jan 13, 2020 5:54 am

Hi All,

I have downloaded cef sample application from http://opensource.spotify.com/cefbuilds/index.html, and using it for passwordless login to microsoft account using yubikey 5 series.

observations.

1.Tried logging-in to microsoft acoount with an already registered yubikey.

Found the below error in browser
"We had a problem authenticating you. Please try again."

Below warning is found in console.log.
"Message: publicKey.userVerification was not set to any value in Web Authentication navigator.credentials.get() call. This defaults to 'preferred', which is probably not what you want. If in doubt, set to 'discouraged'. See https://chromium.googlesource.com/chrom ... eferred.md for details.

Source: https://aadcdn.msauth.net/ests/2.1/cont ... azrcdq2.js "

2. Tried registering a yubikey

found the below error.
"The security key you used is not supported. Make sure you have a Microsoft-compatible security key and try again."

Same passwordless authentication works fine with chrome browser. Is there anyway to do this in cef?

Thanking you!
Yubtest
Techie
 
Posts: 20
Joined: Mon Jan 13, 2020 5:32 am

Re: passwordless login using yubikey with cef

Postby magreenblatt » Mon Jan 13, 2020 7:59 am

This is not currently supported in CEF.
magreenblatt
Site Admin
 
Posts: 12406
Joined: Fri May 29, 2009 6:57 pm

Re: passwordless login using yubikey with cef

Postby Yubtest » Mon Jan 13, 2020 10:52 am

Thanks for the response.

This feature is found to be working in chrome browser.Is there a plan to support same (passwordless authentication) in future?
Yubtest
Techie
 
Posts: 20
Joined: Mon Jan 13, 2020 5:32 am

Re: passwordless login using yubikey with cef

Postby magreenblatt » Mon Jan 13, 2020 11:05 am

Yes, if someone would like to contribute an implementation.
magreenblatt
Site Admin
 
Posts: 12406
Joined: Fri May 29, 2009 6:57 pm

Re: passwordless login using yubikey with cef

Postby Yubtest » Tue Jan 14, 2020 2:17 am

Is Injecting a javascript with options.authenticatorSelection.userVerification set to 'discouraged' would be a solution here?.

Thanks!
Yubtest
Techie
 
Posts: 20
Joined: Mon Jan 13, 2020 5:32 am

Re: passwordless login using yubikey with cef

Postby Yubtest » Fri Feb 14, 2020 5:45 am

So, I understand this as FIDO2 is currently not supported. Is that right? Please let me know

Thanks!
Yubtest
Techie
 
Posts: 20
Joined: Mon Jan 13, 2020 5:32 am


Return to Support Forum

Who is online

Users browsing this forum: Google [Bot] and 33 guests