social login 처리

dev
minuk926 3 years ago
parent ce71941d2f
commit 6b3efde8bc

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

Loading…
Cancel
Save