This repository creates a React JS project and a Spring project with keycloak session validation
git clone https://github.com/juanbjs/keycloak-react-spring.git
Start Keycloak, postgres and wildfly with Docker
cd keycloak-react-spring
docker-compose up --bluid -d
Start React-app
cd keycloak-react-spring/web-react-app
npm start
Create Spring war
cd keycloak-react-spring
npm start
https://medium.com/@bcarunmail/securing-rest-api-using-keycloak-and-spring-oauth2-6ddf3a1efcc2
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Please make sure to update tests as appropriate.