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

Jasypt: Failed to bind properties under 'spring.datasource.password' to java.lang.String – Docker

I am using Jasypt in my Spring Boot app and encrypted passwords in app properties and docker-compose using proper annotation: application.properties.yml: datasource: driver-class-name: org.postgresql.Driver url: jdbc:postgresql://localhost:5432/employee_db username: postgres password: ENC(fpEVpMwMbl4hbcoCKuhrpi...) # jasypt jasypt: encryptor: algorithm: PBEWithMD5AndDES iv-generator-classname: org.jasypt.iv.NoIvGenerator docker-compose.yml: services:…

VIEW QUESTION

Azure – Spring Boot OAuth2 invalid_user_info_response

Im building a webMVC app with Azure as Identity Provider and Im getting the following error: [invalid_user_info_response] An error occurred while attempting to retrieve the UserInfo Resource: I/O error on GET request for "https://graph.microsoft.com/oidc/userinfo": graph.microsoft.com [nio-8080-exec-3] o.s.web.client.RestTemplate : HTTP GET…

VIEW QUESTION
Back To Top
Search