/webauthn-java-example

Demo App for using WebAuthn with Java and Spring Boot

Primary LanguageJava

Java Spring Boot Implementation of WebAuthn

This example app demonstrates how WebAuthn works using Spring Boot.

Please read Building a WebAuthn Application with Java to see how this app was created.

Prerequisites:

Java 17: This project uses Java 17. If you don't have Java 17, you can install OpenJDK. Instructions are found on the OpenJDK website.

Getting Started

To install this example application, run the following commands:

git clone https://github.com/oktadev/webauthn-java-example.git
cd webauthn-java-example

This will get a copy of the project installed locally.

Start the Apps

To install all of its dependencies and the app, run:

./mvnw spring-boot:run

You can now test the application by opening http://localhost:8080

Links

This example uses the following open source libraries:

Help

Please post any questions as comments on the [blog post], or visit our Okta Developer Forums.

License

Apache 2.0, see LICENSE.