반응형 SMALL Google1 OAuth2 로그인(Google, Kakao 등) OAuth2 로그인 기본 흐름사용자가 소셜 로그인 버튼 클릭클라이언트가 인증 서버(Google 등)로 리디렉션사용자 로그인 → 인증 코드 발급서버가 인증 코드를 통해 액세스 토큰 발급사용자 정보 요청 → 로그인 처리1. 의존성 추가build.gradledependencies { implementation 'org.springframework.boot:spring-boot-starter-oauth2-client' implementation 'org.springframework.boot:spring-boot-starter-security'}2. application.yml 설정 (Google 기준)spring: security: oauth2: client: regist.. 2025. 4. 15. 이전 1 다음 LIST