spring keycloak1 Spring Boot 3 환경에서 KeyCloak 적용하기 🤩 배경 스프링 부트 2 버전에서는 Keycloak 클라이언트 어댑터(KeycloakWebSecurityConfigurerAdapter)를 사용하여 애플리케이션에 쉽게 연결해서 사용했다. 하지만 스프링 부트 3부터 일부 클래스, 메서드, 속성 및 어노테이션이 제거되었다. 해당 포스트에서는 스프링 부트 3 환경에서 Spring Security Oauth2와 KeyCloak을 연결해서 사용하는 방법을 공유한다. 1. Dependency 추가 우선, oauth2 resource service 의존성을 추가한다. org.springframework.boot spring-boot-starter-oauth2-resource-server 2. properties 설정 Spring Security에 관련 설정을 추가한.. 2023. 6. 25. 이전 1 다음