Kieun / webauthn-1

A Demonstration of the WebAuthn Specification

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

WebAuthn Demo

This Go application is meant to be a demonstration of how the Web Authentication specification works.

Quickstart

  1. Clone the repo into your working directory
  2. Install Go and set it up if you haven't already
  3. Retrieve all go dependencies ($ go get .)
  4. Copy or rename config.template.json to config.json, remove comments, and edit if need be.
  5. Build and run the application ($ go build; ./webauthn)

Important Notes

Currently WebAuthn works in Firefox's Nightly Build and Chrome Canary.

If you're using Firefox, enable webauthn:

  1. Open the Firefox advanced preferences at the URL (about:config)[about:config]. These are feature flags for FF Nightly.
  2. Search for "webauth"
  3. Enable value=True for:
  • security.webauth.webauthn
  1. Reload the page and you're ready to go!

About

A Demonstration of the WebAuthn Specification

License:BSD 3-Clause "New" or "Revised" License


Languages

Language:Go 65.5%Language:JavaScript 23.7%Language:HTML 8.3%Language:CSS 2.5%