Skip to content

csalas-yubico/ez-rp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Contributors Forks Stargazers Issues Apache-2.0


Logo

Passkey Relying Party Example

Sample backend application to demonstrate a relying party that supports passkeys. This example includes examples of the java-webauthn-server library, helper classes, code examples, best practices, and API schemas.
Explore the docs »

· Report Bug · Request Feature

Table of contents
  1. About The project
  2. Built with
  3. Getting started
  4. Next steps
  5. FAQs and common issues
  6. Contributing
  7. License
  8. Contact

About The Project

This project provides a sample relying party that supports passkeys. The objective is to provide samples that demonstrate to developers how to build a custom passkey enabled applications.

Our example is architected in a way for a developer to take advantage of multiple interfaces so that they may use the database, identity provider, and cloud environment in which they operate in. While the architectural components may differ from app to app, the fundamental logic remains fairly consistent between passkey applications.

Some of the features included in this project are:

  • Examples of the primary registration and authentication methods used by passkey applications
  • Defined REST API schema that can be leveraged across web and native applications
  • Interfaces for plugging in your own database and identity provider
  • Leveraging attestation and the FIDO Metadata Service

Disclaimer - This project is not meant to act as a production ready solution for all organizations. Please review the code, and make any modifications, so that it matches up to your security stack and policies.

(back to top)

Built With

(back to top)

Getting Started

The project, as-is, supports two forms of deployments:

  • locally
  • To AWS

Local deployment

Run the command below to deploy the application locally. The application/API will be accessible from localhost:8080

./mvnw spring-boot:run

AWS deployment

Our sample uses AWS SAM to deploy the application to AWS. For this deployment you will need to ensure that you have downloaded the AWS CLI, and that the CLI has the correct credentials to deploy the various resources used in the project.

Once you are ready un the commands below to deploy the application locally.

sam build

sam deploy

Note about data storage

Unless configured otherwise, this application will store data in-memory. Meaning, if the application is terminated, then all credentials will be lost. This application is meant to act as a demonstration, and not a production ready solution.

You may follow these steps to configure [REST OF THE CONTENT TO BE ADDED]

(back to top)

Next steps

@TODO - To add content later

(back to top)

FAQs and Common Issues

@TODO - To add content later

(back to top)

Contributing

Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.

If you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue with the tag "enhancement". Don't forget to give the project a star! Thanks again!

  1. Fork the Project
  2. Create your Feature Branch (git checkout -b feature/AmazingFeature)
  3. Commit your Changes (git commit -m 'Add some AmazingFeature')
  4. Push to the Branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

(back to top)

License

Distributed under the Apache-2.0 License. See LICENSE for more information.

(back to top)

Contact

Yubico Developer Program

Project Link: https://github.com/YubicoLabs/yed-spoke-example

(back to top)

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages