Skip to content

Latest commit

 

History

History
25 lines (16 loc) · 982 Bytes

README.md

File metadata and controls

25 lines (16 loc) · 982 Bytes

Go WebAuthn/Passkey Example

This is a simple example of WebAuthn and Passkey authentication using Go and JavaScript from my blog post PassKey in Go.

Important

I created a simple library based on this demonstration. It allows you to quickly and easily add Passkey support to your Golang application. The library includes fixes for errors made in this tutorial. Check this out!

Demo

Screen.Recording.2024-02-24.at.19.16.37.mov

Run by yourself

Set host and port by ENV vars PROTO, HOST and PORT or use default http://localhost:8080

Run server: go run .

References