View Code? Open in Web Editor
NEW
This project forked from pushpen0009 /spring-boot-integration-with-keycloak
Spring boot application with keycloak integration. 1- Setup Keycloak 2- Create token API 3- Refresh Token 4- Login with user registered on Keycloak 5- Authorization based on user role 6- Keycloak Auth Provider to validate token expiry
spring-boot-integration-with-keycloak's Introduction
following features has been done
4- Login with user registered on Keycloak
5- Authorization based on user role
6- Keycloak Auth Provider to validate token expiry
Setup KeyCloak and integration with spring boot application
unzip the zip folder and go to bin folder and run standalone.bat file
docker run -p "8080:8080" -e KEYCLOAK_USER=admin -e KEYCLOAK_PASSWORD=pass jboss/keycloak
4. Create a Realm: SpringBootKeycloak
6. Creating a Role and a User--> add the “user” role:--->We add the user “user1
7. Create a spring web application.
8. Integrate spring web application with Keycloak
Import KeycloakAPIs.postman_collection.json file into postmam and test rest api integration with Keycloak
spring-boot-integration-with-keycloak's People
Contributors