Skip to content

Commit

Permalink
test : SecurityConfig 롤백
Browse files Browse the repository at this point in the history
  • Loading branch information
Gyaak committed Aug 8, 2024
1 parent 2371dd4 commit e1c1609
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ public SecurityFilterChain securityFilterChain(HttpSecurity http) throws Excepti
.requestMatchers("/auth/**", "/login/**").permitAll()
.anyRequest().authenticated()
)
.addFilterBefore(new UnregisteredUserFilter(), BasicAuthenticationFilter.class)
.addFilterAfter(new UnregisteredUserFilter(), BasicAuthenticationFilter.class)
.oauth2Login(oauth -> oauth
.userInfoEndpoint(userInfo -> userInfo.userService(customOAuth2Service))
.defaultSuccessUrl("/")
Expand Down

0 comments on commit e1c1609

Please sign in to comment.