Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

helioauth/passkeys-api-demo

Repository files navigation

logo

HelioAuth Demo

A passwordless authentication solution for modern web applications

contributors last update forks stars open issues license


📔 Table of Contents

🌟 About the Project

An example implementation of WebAuthn passkey authentication in a Spring Boot application.

👾 Tech Stack

Server
Database
DevOps

🎯 Features

  • WebAuthn (passkey) authentication
  • Magic link fallback authentication (work in progress)
  • User dashboard

🔑 Environment Variables

To run this project, you will need to add the following environment variables:

DATABASE_URL - JDBC-compatible database url e.g. jdbc:postgresql://localhost:5432/demodb

RELYINGPARTY_DISPLAY_NAME - The name that shows up on the client when registering/authenticating with WebAuthn, e.g. HelioAuth Demo

RELYINGPARTY_HOSTNAME - The origin (domain) where the application is hosted, e.g. demo.usepasskeys.dev

🧰 Getting Started

!!️ Prerequisites

This project uses Java 22 and Maven

 git clone https://github.com/helioauth/passkeys-api-demo.git

🏃 Run Locally

Go to the project directory

 cd passkeys-api-demo

Install dependencies

 ./mvnw install

Start PostgreSQL server

 docker-compose up -d

Start the demo

 ./mvnw spring-boot:run

👋 Contributing

Contributions are always welcome!

⚠️ License

Distributed under the MIT License. See LICENSE for more information.

🤝 Contact

HelioAuth: https://helioauth.com/

Project Link: https://github.com/helioauth/passkeys-api-demo

💎 Acknowledgements

About

An example implementation of WebAuthn passkey authentication in a Spring Boot application.

Topics

Resources

License

Stars

Watchers

Forks

AltStyle によって変換されたページ (->オリジナル) /