Coder Social home page Coder Social logo

Comments (5)

Cirrusware avatar Cirrusware commented on June 30, 2024 1

Ok thanks for this precision.
WebAuthn is now activated on my website. Thanks for your work.

I search a way to have only fingerprint without screen lock.
I read this
https://stackoverflow.com/questions/57279094/js-webauthn-how-to-disable-or-detect-screen-lock-pin-code-option
So maybe in the next release of Chrome.

Have a nice day :-)

from webauthn-framework.

Cirrusware avatar Cirrusware commented on June 30, 2024

rpId must be equal to host.

Ex: https://www.domain.net => rpId = www.domain.net => Works
https://www.domain.net => rpId = api.domain.net => don't work

from webauthn-framework.

Spomky avatar Spomky commented on June 30, 2024

Hi,

Either you don’t set the rpId i.e. the current domain is used or you set it on both attestation and assertion options.

I can see in the first options object it is not set ("rp":{"name":"xxxxx"}) but it is in the other one ("rp":{"name":"xxxxx","id":"xxxxx.net"}). This may be the reason for the exception.

I recommend to always set the domain to avoid any trouble. In your case and as you may have requests from www.domain.net or api.domain.net, you should set domain.net ("rp":{"name":"xxxxx","id":"domain.net"})

from webauthn-framework.

Spomky avatar Spomky commented on June 30, 2024

As noted in the SO question, the uvm extension is the way to go.
When available, you should only need an extension handler and reject if other methods than fingerprint are present.

from webauthn-framework.

github-actions avatar github-actions commented on June 30, 2024

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

from webauthn-framework.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.