Skip to content

Commit

Permalink
Merge pull request #33 from AmorGakCo/hotfix/#31
Browse files Browse the repository at this point in the history
hotfix: 원래 기본 base url로 회귀
  • Loading branch information
songhaechan authored Aug 19, 2024
2 parents 23735cb + da54236 commit 00a937b
Showing 1 changed file with 2 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -52,11 +52,8 @@ public SecurityFilterChain securityFilterChain(final HttpSecurity http) throws E
.sessionManagement(c -> c.sessionCreationPolicy(SessionCreationPolicy.STATELESS))
.oauth2Login(
oauth ->
{
oauth.userInfoEndpoint(c -> c.userService(oauth2UserService))
.successHandler(oauth2SuccessHandler);
oauth.authorizationEndpoint(c->c.baseUri("/api/auth/callback"));
})
oauth.userInfoEndpoint(c -> c.userService(oauth2UserService))
.successHandler(oauth2SuccessHandler))
.addFilterBefore(
jwtAuthenticationFilter, UsernamePasswordAuthenticationFilter.class)
.addFilterBefore(jwtExceptionHandlingFilter, JwtAuthenticationFilter.class)
Expand Down

0 comments on commit 00a937b

Please sign in to comment.