December 2019
Intermediate to advanced
314 pages
6h 51m
English
Believe it or not, once we have configured the identity server, we don't have much work to do in our Quarkus application. We only need to provide the Keycloak URL and client settings to the application.properties configuration file of our application:
keycloak.url=http://localhost:8180quarkus.oidc.enabled=truequarkus.oidc.auth-server-url=${keycloak.url}/auth/realms/quarkus-realmquarkus.oidc.client-id=quarkus-clientquarkus.oidc.credentials.secret=mysecret# Enable Policy Enforcementquarkus.keycloak.policy-enforcer.enable=truequarkus.http.cors=true
In the preceding configuration, we have provided the mandatory settings to connect to the Keycloak Identity Server. We have also added a property named keycloak.url ...
Read now
Unlock full access