Skip to content

Commit

Permalink
fix: Login url, redirect url
Browse files Browse the repository at this point in the history
잘못된 로그인, 로그인 성공 후 경로 수정
  • Loading branch information
toychip committed Jan 1, 2024
1 parent 4b59fe6 commit 28f002a
Showing 1 changed file with 6 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,12 @@ public SecurityFilterChain filterChain(HttpSecurity http) throws Exception {
.anyRequest().permitAll());
http
.oauth2Login()
.authorizationEndpoint().baseUri("/login/oauth/authorize")
.and()
.authorizationEndpoint()
.baseUri("/login")
.and()
.redirectionEndpoint()
.baseUri("/login/oauth/authorize/github")
.and()
.userInfoEndpoint()
.userService(customOAuth2UserService)
.and()
Expand Down

0 comments on commit 28f002a

Please sign in to comment.