Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -83,12 +83,13 @@ public SecurityFilterChain securityFilterChain(HttpSecurity http, Authentication
http.csrf(csrf -> csrf.disable())
.cors(cors -> cors.configurationSource(corsConfigurationSource()))
.authorizeHttpRequests(auth -> auth
.requestMatchers(
"/v3/api-docs/**", // Swagger API 문서 경로
"/swagger-ui/**", // Swagger UI 리소스 경로
"/swagger-ui.html" // Swagger UI HTML 페이지
).permitAll()
.anyRequest().authenticated()
// .requestMatchers(
// "/v3/api-docs/**", // Swagger API 문서 경로
// "/swagger-ui/**", // Swagger UI 리소스 경로
// "/swagger-ui.html" // Swagger UI HTML 페이지
// ).permitAll()
// .anyRequest().authenticated()
.anyRequest().permitAll()
)
.authenticationProvider(authenticationProvider)
.httpBasic(httpBasic -> httpBasic.realmName("MyApp"))
Expand Down
Loading