Giter Site home page Giter Site logo

webauthntest's Introduction

Live instance

A live instance of this code is available at aka.ms/webauthntest. This instance is for testing the WebAuthn API only. Do not submit personal data.

Deploying a local instance

  1. Download and install the latest NodeJS
  2. Download and install VS Code
  3. Download and install MongoDB Community
  4. Clone this repository
  5. Run npm install in the root directory
  6. Open this repository in VS Code
  7. Launch program - configurations should already be set

Deploying to production

Things you need to deploy

  • Create a app services web project
  • Create a Cosmos DB with API mongodb

Before deploying, you'll need to define the following environment variables inside app services application settings so they can be accessed by this NODEJS app at runtime:

  • MONGODB_URL - connection URL to your mongodb. Get it from cosmos db settings. Pick the latest Node.js 3.0 connection string under quick start.
  • JWT_SECRET - some long random string
  • HOSTNAME - hostname of your deployed service (e.g. "webauthntestapp.azurewebsites.net")
  • ENFORCE_SSL_AZURE - set to "true"

Contributing

This project welcomes contributions and suggestions. Most contributions require you to agree to a Contributor License Agreement (CLA) declaring that you have the right to, and actually do, grant us the rights to use your contribution. For details, visit https://cla.microsoft.com.

When you submit a pull request, a CLA-bot will automatically determine whether you need to provide a CLA and decorate the PR appropriately (e.g., label, comment). Simply follow the instructions provided by the bot. You will only need to do this once across all repositories using our CLA.

Code of Conduct

This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact [email protected] with any additional questions or comments.

webauthntest's People

Contributors

akshayku avatar dependabot[bot] avatar idamlaj avatar jonesnl avatar microsoft-github-policy-service[bot] avatar timcappalli 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

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

webauthntest's Issues

"Attestation Statement Chain" show content of last time when using authenticator of self attestation to enroll

https://webauthntest.azurewebsites.net/
Logon with any user name.

Reproduce:

  1. Create credential with an authenticator which uses batch attestation certificate.
  2. Check "Attestation Statement Chain" showed on "Credential Creation Data" page. ( click "[more details]" beside "Credential Registration Data" )
  3. Create credential again with another authenticator which uses Self Attestation(surrogate basic attestation).
  4. Check "Attestation Statement Chain" .

Issue: Attestation Statement Chain in step4 is same as step 2.

Store transports

We should store transports and display them with the credential

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.