Join Slack
Powered by
<Keycloak with Spring Boot 3 and multiple Realms> ...
# community-feeds
r
rss
02/27/2024, 5:39 PM
Keycloak with Spring Boot 3 and multiple Realms
I need to authenticate/authorize a Spring Boot application with Keycloak using multiple Realms. So if the request is
https://server/realm1/api.json
then the realm [realm1] on Keycloak will be used, if the request is
https://server/realmXYZ/api.json
then the realm [realmXYZ] will be used. Have done With the following configuration (I'm using a old Keycloak 15.02) # Resource Server spring.security.oauth2.resourceserver.jwt.issuer-uri=
http://localhost:8180/auth/realms/realm1
# Client...
Open in Slack
Previous
Next