social login 처리

dev
minuk926 3 years ago
parent ce71941d2f
commit 6b3efde8bc

@ -208,9 +208,11 @@ public class SecurityConfig extends WebSecurityConfigurerAdapter {
.oauth2Login() .oauth2Login()
.authorizationEndpoint() .authorizationEndpoint()
.baseUri("/oauth2/authorization") .baseUri("/oauth2/authorize")
.authorizationRequestRepository(oAuth2AuthorizationRequestBasedOnCookieRepository()) .authorizationRequestRepository(oAuth2AuthorizationRequestBasedOnCookieRepository())
.and()
.redirectionEndpoint()
.baseUri("/oauth2/callback/*")
.and() .and()
.userInfoEndpoint() .userInfoEndpoint()
.userService(customOAuth2UserService) .userService(customOAuth2UserService)

Loading…
Cancel
Save