Giter VIP home page Giter VIP logo

webauthn-simple-app's People

Contributors

apowers313 avatar madwizard-thomas avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

webauthn-simple-app's Issues

Response Object doesn't contain "type"

Hi,

I am working on building a test system, both a FIDO2 server and front end and leveraged your code. I am using this as the FIDO backend:
https://github.com/web-auth/webauthn-framework

I was not too familiar with how server and client interacted, but while building up the "attestation" side of the server to connect with your front end, I kept getting an error code back of "type" missing from the response object. I patched the code with a few lines similar to this:
this.type = coerceToBase64Url("public-key", "type");

The server now responds properly, I can't say this is valid for all aspects of the FIDO2 standard. I am not too familiar with the fine detail yet (one of the reasons I am building the test server).

Here is the link to debugging on the server side that has more information:
web-auth/webauthn-framework#121

Consistent messages

Refactor to send / receive messages in a standard format. Include clientPreferences in messages sent to the server. Receive and merge / resolve serverPreferences in server response.

Event listeners

Use event listeners rather than having on submit function calls. Required for CSP.

ES6/UMD module

Would you consider writing the module as an ES6 module (with export statements) and transform it into an UMD module (for example with rollup) to allow it to be used in all common environments?

CSRF protection

Would it be necessary to protect the POST requests in this library with a CSRF token? The response can't be read from other security contexts but it might still be abused to wrongly trigger risk engines.

Test app certificate is expired

Hi there! Not sure if this would be the appropriate place to ask, but I noticed that the live demo page has an expired certificate. As a result, the site is giving giving in errors in Chrome, Firefox, and Edge. I attached a screenshot below:
image

On load events

Wait for on load event before throwing secure context or browser supported events.

How to run this project?

Hello, how can i run this project. I have tried to run it with npm and nodeJS but it only can be installed with npm, where is the main js file for web page running?

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.