Skip to content

Commit

Permalink
Fix: permit endpoint 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
yumzen committed Nov 15, 2024
1 parent 90223d7 commit 5e07e6a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/java/kahlua/KahluaProject/config/SecurityConfig.java
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,8 @@ public SecurityFilterChain filterChain(HttpSecurity http) throws Exception {
);
http.authorizeHttpRequests((authorize) -> authorize
.requestMatchers( "/api-docs/**", "/swagger-ui/**", "/swagger-ui.html/**", "/v3/api-docs/**", "/swagger-ui/index.html#/**").permitAll()
.requestMatchers(HttpMethod.GET, "/v1/admin/tickets/**").permitAll()
.requestMatchers(HttpMethod.GET, "/v1/admin/apply/**").permitAll()
.requestMatchers(HttpMethod.GET, "/v1/admin/tickets/info/**").permitAll()
.requestMatchers(HttpMethod.GET, "/v1/admin/apply/info/**").permitAll()
.requestMatchers("/v1/auth/sign-out/**", "v1/auth/recreate/**","/v1/user/**", "/v1/admin/**").authenticated()
.anyRequest().permitAll())
.addFilterBefore(jwtFilter, UsernamePasswordAuthenticationFilter.class)
Expand Down

0 comments on commit 5e07e6a

Please sign in to comment.