- This is a simple containerized spring boot application to demonstrate usage of Keycloak as Authentication and Authorization server with OpenId Connect protocol
The application is made up of majorly two services:
- Keycloak server
- Simple Spring Boot REST APIs.
- Open the keycloak admin panel at This link
- Follow the instructions on this link to set up a keycloak realm, role, user and some few other identity specifications:
- For this app we use the following settings:
- Realm: test
- Role: user
- User: user1
- Client: SpringBootKeyCloak
To get access_token: Make post request with json credentials to http://localhost:8082/token.
To test the token received: make GET request to http://localhost:8082/api