Skip to content

Commit

Permalink
[Bug] Update SecurityConfig.java(#103)
Browse files Browse the repository at this point in the history
  • Loading branch information
moonjin-kim authored Mar 26, 2024
1 parent d2049c3 commit bdbffab
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -61,8 +61,8 @@ public CorsConfiguration getCorsConfiguration(HttpServletRequest request) {
.authorizeHttpRequests((authorizeRequests) -> authorizeRequests
.requestMatchers("/member/signin", "/member/signup", "member/refresh").permitAll()
.requestMatchers("/admin/**").hasAnyAuthority("ADMIN")
// .anyRequest().authenticated()
.anyRequest().permitAll()
.anyRequest().authenticated()
// .anyRequest().permitAll()
)
.addFilterBefore(jwtTokenFilter, UsernamePasswordAuthenticationFilter.class)

Expand Down

0 comments on commit bdbffab

Please sign in to comment.