diff --git a/src/main/java/com/example/RealMatch/global/config/SecurityConfig.java b/src/main/java/com/example/RealMatch/global/config/SecurityConfig.java index 4cd5f8d1..bf282f16 100644 --- a/src/main/java/com/example/RealMatch/global/config/SecurityConfig.java +++ b/src/main/java/com/example/RealMatch/global/config/SecurityConfig.java @@ -44,7 +44,8 @@ public class SecurityConfig { "/v3/api-docs/**", "/swagger-ui/**", "/swagger-resources/**", "/api/v1/tags/**", "/actuator/health", - "/api/v1/auth/signup" + "/api/v1/auth/signup", + "/api/v1/auth/refresh" }; private static final String[] REQUEST_AUTHENTICATED_ARRAY = { diff --git a/src/main/java/com/example/RealMatch/global/config/jwt/JwtAuthenticationFilter.java b/src/main/java/com/example/RealMatch/global/config/jwt/JwtAuthenticationFilter.java index ccfe37a0..5ac99b90 100644 --- a/src/main/java/com/example/RealMatch/global/config/jwt/JwtAuthenticationFilter.java +++ b/src/main/java/com/example/RealMatch/global/config/jwt/JwtAuthenticationFilter.java @@ -33,7 +33,8 @@ public class JwtAuthenticationFilter extends OncePerRequestFilter { "/swagger-ui", "/swagger-ui.html", "/swagger-resources", - "/actuator" + "/actuator", + "/api/v1/auth/refresh" ); @Override diff --git a/src/main/resources/application-test..yml b/src/main/resources/application-test..yml index 6f69ff61..3f189ec7 100644 --- a/src/main/resources/application-test..yml +++ b/src/main/resources/application-test..yml @@ -25,7 +25,7 @@ spring: jpa: hibernate: - ddl-auto: create-drop + ddl-auto: none properties: hibernate: dialect: ${JPA_HIBERNATE_DIALECT}