In this example we are demonstarte OAuth2 with Spring Boot and Spring Cloud with MongoDB. here we have used
- Spring Boot
- Spring Cloud
- MongoDB
- Docker
- Maven
The auth service will be built on top of a MongoDB
and will be able to create users, authenticate them, store their tokens and or refresh tokens and revoke it if needed.
All this are the maven
based projects so download and use the below command to compile and run the projects.
mvn clean install
and run as a spring boot project. It will work as you expected.