Skip to content
Merged
Show file tree
Hide file tree
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 @@ -50,7 +50,8 @@ public SecurityFilterChain userFilterChain(HttpSecurity http) throws Exception {
"/signup",
"/css/**",
"/js/**",
"/admin/login")
"/admin/login",
actuatorBasePath + "/**")
.permitAll()
.requestMatchers(HttpMethod.OPTIONS, "/**")
.permitAll()
Expand Down Expand Up @@ -83,7 +84,6 @@ public SecurityFilterChain userFilterChain(HttpSecurity http) throws Exception {
userInfo.userService(
customOAuthUserService))
.successHandler(oAuthSuccessHandler))
.httpBasic(Customizer.withDefaults())
.logout(
logout ->
logout.logoutUrl("/logout")
Expand Down
12 changes: 0 additions & 12 deletions backend/src/main/resources/application.yml
Original file line number Diff line number Diff line change
Expand Up @@ -76,12 +76,6 @@ spring:
activate:
on-profile: dev

security:
user:
name: ${PROM_NAME}
password: ${PROM_PASSWORD}
roles: PROMETHEUS

management:
server:
port: ${ACTUATOR_PORT}
Expand All @@ -99,12 +93,6 @@ spring:
activate:
on-profile: prod

security:
user:
name: ${PROM_NAME}
password: ${PROM_PASSWORD}
roles: PROMETHEUS

# TODO: Flyway 추가와 함께 설정이 필요한 항목들
# sql:
# init:
Expand Down