ClientRegistration1 OAuth2 로그인(Google/GitHub) + JWT 브릿지 OAuth2 로그인(Google/GitHub) + JWT 브릿지소셜 로그인을 도입하면 가입 장벽을 낮출 수 있습니다. oauth2Login으로 Google/GitHub 인증을 처리하고, 로그인 성공 시 우리 서비스의 JWT를 발급해 SPA/모바일과 자연스럽게 연동하는 “브릿지” 패턴을 구현해봅니다.1) 의존성 & 클라이언트 등록// build.gradle.ktsdependencies { implementation("org.springframework.boot:spring-boot-starter-oauth2-client") implementation("org.springframework.boot:spring-boot-starter-security") implementation("org.springfr.. 2025. 10. 13. 이전 1 다음