WebAuthn Test Site
Перейти к файлу
Akshay Kumar b68373a92f
[Maintenance] Update Packages - 2 (#62)
* UpdatePackages

* UpdatePackages2
2024-09-12 04:56:47 +05:30
.github/workflows Upgrade Actions (#52) 2024-07-09 12:36:20 +05:30
.vscode Save and display transports from credentials (#47) 2024-01-08 23:42:51 +05:30
public Show ClientDataJSON in Create and Get (#60) 2024-07-10 16:18:38 +05:30
.gitignore ignore .env and certs 2022-09-14 00:44:56 +00:00
LICENSE.md Initial commit 2019-04-01 10:36:33 -07:00
Procfile Initial commit 2019-04-01 10:36:33 -07:00
README.md Akshay feedback 2022-09-16 20:45:08 +00:00
SECURITY.md Microsoft mandatory file 2022-08-29 13:59:55 +00:00
app.js login - add warning, version, title 2022-09-15 22:01:19 +00:00
fido.js Show ClientDataJSON in Create and Get (#60) 2024-07-10 16:18:38 +05:30
fidoAttestation.js EcCurves 2021-07-16 14:37:16 +05:30
package-lock.json [Maintenance] Update Packages - 2 (#62) 2024-09-12 04:56:47 +05:30
package.json [Maintenance] Update Packages - 2 (#62) 2024-09-12 04:56:47 +05:30
storage.js Show ClientDataJSON in Create and Get (#60) 2024-07-10 16:18:38 +05:30
utils.js RemoveJose 2021-07-17 09:24:39 +05:30

README.md

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 opencode@microsoft.com with any additional questions or comments.