teamhanko / passkeys

FIDO2-certified passkey server and SDKs for adding passkey support to any auth system

Home Page:https://hanko.io/passkey-api

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

This monorepo contains all required infrastructure for adding passkey support to apps with an existing auth system and user base.

It features:

  • Passkey Server (API)
    an HTTP API that manages passkeys for your users

  • OpenAPI 3.0 Spec
    an OpenAPI 3.0 specification for the Passkey Server's API

  • JavaScript/TypeScript SDK
    a typesafe wrapper around the API for JS apps (Node.js, Browser, Deno, Bun, ...)

Passkey Server

Passkey Server provides an HTTP API for registration and login with passkeys (WebAuthn) to provide a modern user experience in a world beyond passwords.

Passkey Server can be used on its own or in combination with its frontend SDKs to add passkey support to any app.

The API is written in Go and provides the following endpoints:

  • /credential - For managing already registered credentials (Listing, Updating or Removing Credentials)
  • /registration - For registering new passkeys
  • /login - For an authentication flow with passkeys
  • /transaction - Sign transactions with passkeys

The detailed OpenAPI Specification can be found here

Getting started

See the server readme for how to get started.

Contact us

Passkey Server is developed and maintained by Hanko. For business inquiries you can book a meeting here:

Book us with Cal.com

Community

Questions, bugs, ideas

If you have any questions or issues, please check the open issues. Feel free to comment on existing issues or create a new issue if you encounter any bugs or have a feature request. For yet unanswered questions, feedback, or new ideas, please open a new discussion.

Discord community & X

We invite you to join our growing Discord community if you want to get the latest updates on passkeys, WebAuthn, and this project, or if you just want to chat with us. You can also follow us on X.

License

This project is licensed under the AGPL-3.0.

About

FIDO2-certified passkey server and SDKs for adding passkey support to any auth system

https://hanko.io/passkey-api

License:GNU Affero General Public License v3.0


Languages

Language:Go 87.7%Language:TypeScript 11.9%Language:Dockerfile 0.3%Language:Shell 0.1%