Skip to content

Commit

Permalink
fix : role 접두사 제거
Browse files Browse the repository at this point in the history
  • Loading branch information
dltjdgh0428 committed Mar 28, 2024
1 parent 0da4d93 commit d5affcf
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ public SecurityFilterChain filterChain(HttpSecurity http, HandlerMappingIntrospe
.requestMatchers(new MvcRequestMatcher(introspector, "/api/map")).permitAll()
.requestMatchers(new MvcRequestMatcher(introspector, "/api/tags")).permitAll()
.requestMatchers(new MvcRequestMatcher(introspector, "/api/data/**")).permitAll()
.requestMatchers(new MvcRequestMatcher(introspector, "/api/**")).hasRole("ROLE_MEMBER")
.requestMatchers(new MvcRequestMatcher(introspector, "/api/**")).hasRole("MEMBER")
.anyRequest().authenticated()
)
.oauth2Login(oauth2Login ->
Expand Down

0 comments on commit d5affcf

Please sign in to comment.