Skip to content

Demo App for using WebAuthn with Java and Spring Boot

Notifications You must be signed in to change notification settings

oktadev/webauthn-java-example

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

45 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

Demo App for using WebAuthn with Java and Spring Boot

Resources

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Java 63.0%
  • HTML 18.7%
  • JavaScript 18.3%