skip to Main Content

Spring Security + Keycloak: 403 after login – Ubuntu

I try to reproduce a https://www.baeldung.com/spring-boot-keycloak tutorial with some simplifications. Also my Keycloak server is on another machine. Config is also slightly changed due to deprecation of the antMatchers: @Configuration @EnableWebSecurity class SecurityConfig { private final KeycloakLogoutHandler keycloakLogoutHandler; SecurityConfig(KeycloakLogoutHandler keycloakLogoutHandler)…

VIEW QUESTION

Nginx Location Regex for keycloak

I have a keycloak, react web and a spring boot app are living behind nginx. The frontend (react) and the backend (spring boot) are calling the keycloak service over the nginx proxy at the flowing urls: realms/.../..etc admin/.../..etc js/.../.../..etc resources/.../...etc…

VIEW QUESTION
Back To Top
Search