This is the template for Spring Boot OAuth2.0 Client Application (CA)
-
Integration with custom Authorization Server
-
Used
H2 database
for testing - allsql
schemas included -
JWT Generation for secondary system
-
This is a hybrid with
OAuth2.0
andJWT
.OAuth2
provides authentication for primary application andJWT
provides authorization information for the secondary system
Related Blog
- Install dependencies for the first time
mvn install
- Package the project
mvn clean package
- Build docker image
docker build -t oauth-ca ./
- Run docker container
docker run -d -p 8082:8082 --name oauth-ca oauth-ca