Includes: React Frontend, Quarkus Backend using JWT-RBAC, Keycloak
Build and run:
mvn compile quarkus:dev
Create the docker image:
mvn package
docker build -f Dockerfile.jvm -t quarkus/oidc-example-jvm .
Use compose for fully working infrastructure and follow setup for keycloak.
docker-compose up -d
- Go to: http://localhost:8000/auth/
- Navigate to the "Administration Console" and Login as "admin" (PW: "admin")
- Create Realm "quarkus" and import Settings from keycloak_import/realm-export.json
- Create a user inside the quarkus realm. After initial creation assign a password by navigating to the newly created user and assigning a password inside the "Credentials"-tab
- Assign role "ROLE_USER" to the created user