Welcome to OAuth Playground Server source repo.
Together with ysoftdevs/oauth-playground-client, these two projects illustrate and explain basics of OAuth grants and Passkeys (WebAuthN).
See it in action: https://www.oauth-playground.online
Warning
Disclaimer: This is a demo. It is not to be used in production. It contains security vulnerabilities, some of them on purpose.
If you are thinking about integrating OAuth into your project, have a look at existing libraries. If you insist you have to write it yourself, then familiarize yourself with the OAuth 2.1 RFC and make sure you understand the risks.
The project is written in Quarkus framework, so the easies way is to use Quarkus CLI.
Then you can run:
quarkus dev
Alternatively, you may use the maven syntax:
./mvnw quarkus:dev
To compile a fat jar with dependencies, run:
/mvnw install