Code Monkey home page Code Monkey logo

passkeys-demo's Introduction

Passkeys Demo

This is a simple demo of Passkeys Authentication using SimpleWebAuthn and Deno. Usernameless authentication is supported.

Requirements

  • Deno 1.32 or higher

Running the demo

  1. Star this repo ๐ŸŒŸ
  2. Clone this repo using git clone https://github.com/maximousblk/passkeys-demo.git
  3. Run deno task start in the cloned directory to start the server
  4. Open http://localhost in your browser

passkeys-demo's People

Contributors

maximousblk avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

Forkers

kuboon

passkeys-demo's Issues

Update to support v8 and deno deploy

Updates to consider:

  1. Making relying party id configurable is required to host the solution on any domain other than localhost
  2. Updating to SimpleWebAuthn v8+ allows directly importing from deno.land using esm imports.

To work on deno deploy, this example must at the minimum import npm version v8+ or switch to deno.land/x/SimpleWebAuthn import. In version 8+ , the two getAuthenticatorOptions and getRegistrationOptions functions will need an await as they were changed to async.

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.