Skip to content

Commit

Permalink
refactor: login page 직접 설정
Browse files Browse the repository at this point in the history
  • Loading branch information
yeonjy committed Mar 20, 2024
1 parent 4061cb5 commit 8c6031a
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ public SecurityFilterChain filterChain(HttpSecurity http) throws Exception {
-> authorizeRequests
.anyRequest().permitAll())
.oauth2Login(oauth2 -> oauth2
.loginPage("/login")
.successHandler(oAuth2LoginSuccessHandler)
.failureHandler(oAuth2LoginFailureHandler)
.userInfoEndpoint(userInfo -> userInfo.userService(customOAuth2UserService)) //customUserService 설정
Expand Down

0 comments on commit 8c6031a

Please sign in to comment.