Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/movsb/golang-webauthn-example
A fully functional Go WebAuthn Example.
https://github.com/movsb/golang-webauthn-example
go golang webauthn
Last synced: 24 days ago
JSON representation
A fully functional Go WebAuthn Example.
- Host: GitHub
- URL: https://github.com/movsb/golang-webauthn-example
- Owner: movsb
- Created: 2024-05-15T12:36:06.000Z (8 months ago)
- Default Branch: main
- Last Pushed: 2024-05-16T00:41:42.000Z (8 months ago)
- Last Synced: 2024-05-16T02:29:14.490Z (8 months ago)
- Topics: go, golang, webauthn
- Language: Go
- Homepage: https://blog.twofei.com/922/
- Size: 11.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Golang WebAuthn Example
This is a fully functional Golang example for logging in with WebAuthn.
## How to Run
1. Clone or Download this repository;
2. Type `go run .` to run the server;
3. Go to .You should make your browser trust this self-signed certificates.
## How to Play
1. Go to `/admin/`;
2. Sign up with any valid email address;
3. Add you WebAuthn Credential;
4. Upon successful add, log out;
5. Try to use your newly created credential to log in again.## To generate new Certificate?
Just run `keygen.sh`. Only the `FQDN` field is required.
## File structure
TBD.
## References
* [Guide to Web Authentication](https://webauthn.guide/)
* [WebAuthn.io](https://webauthn.io/)
* [Passkeys: the web authentication standard](https://www.passkeys.com/)
* [Meet passkeys - WWDC22 - Videos - Apple Developer](https://developer.apple.com/videos/play/wwdc2022/10092/)
* [Introduction to WebAuthn API and Passkey](https://medium.com/webauthnworks/introduction-to-webauthn-api-5fd1fb46c285)
* [Apple Just Killed the Password—for Real This Time](https://www.wired.com/story/apple-passkeys-password-ios16-ventura/)
* [MacOS 13 Ventura: Features, Details, Release Date | WIRED](https://www.wired.com/story/apple-ventura-macos-13-preview/)
* [Web Authentication API - Web APIs | MDN](https://developer.mozilla.org/en-US/docs/Web/API/Web_Authentication_API)
* [Passkeys in iOS 16 and macOS 13 enable passwordless sign-in - 9to5Mac](https://9to5mac.com/2022/06/07/passkeys-passwordless-sign-in-ios-16/)
* [duo-labs/webauthn: WebAuthn (FIDO2) server library written in Go](https://github.com/duo-labs/webauthn)
* [duo-labs/webauthn.io: The source code for webauthn.io, a demonstration of WebAuthn.](https://github.com/duo-labs/webauthn.io)
* [koesie10/webauthn: Go package for easy WebAuthn integration](https://github.com/koesie10/webauthn)
* [hbolimovsky/webauthn-example: Basic WebAuthn client and server in go](https://github.com/hbolimovsky/webauthn-example)
* [WebAuthn Basic Web Client/Server · Herbie's Blog](https://www.herbie.dev/blog/webauthn-basic-web-client-server/)