[Spring Boot] OAuth2 Client를 이용하여 소셜 로그인 구현하기 [1] 이전 포스트에서 소셜 로그인 완료하는 단계까지 알아보았다. 이번 포스트에서는 소셜 로그인 완료 후 유저 정보를 처리하는 과정에 대해서 적어보겠다. 우선 DB에 저장할 유저 엔티티와 Repository를 만들어주었다. 유저 엔티티는 최대한 간단하게 만들어주었다.
return userRepository.save
Is this you? As a journalist, you can create a free Muck Rack account to customize your profile, list your contact preferences, and upload a portfolio of your best work.
Claim your profile
Get in touch with return
Contact return, search articles and posts on X, monitor coverage, and track replies from one place.
Learn more about Muck Rack