social login 처리

dev
minuk926 3 years ago
parent ce71941d2f
commit 6b3efde8bc

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

Loading…
Cancel
Save