Skip to content

Commit 1279eff

Browse files
committed
Fix: JWT 인증 제외 path 설정
1 parent a1c6251 commit 1279eff

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

src/main/java/com/dongdong/nameSolver/domain/auth/application/dto/request/SignUpCommand.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,4 @@ public class SignUpCommand {
1111
private String solvedacName;
1212
private String id;
1313
private String password;
14-
15-
1614
}

src/main/java/com/dongdong/nameSolver/global/config/SecurityConfig.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ public SecurityFilterChain filterChain(HttpSecurity http) throws Exception {
3737
})
3838
.authorizeHttpRequests((authorizeRequest) -> {
3939
// 회원가입, 로그인 관련 API는 Jwt 인증 없이 접근 가능
40-
authorizeRequest.requestMatchers("/auth").permitAll();
40+
authorizeRequest.requestMatchers("/auth/**").permitAll();
4141
authorizeRequest.requestMatchers("/error").permitAll();
4242
// 나머지 모든 API는 Jwt 인증 필요
4343
authorizeRequest.anyRequest().authenticated();

0 commit comments

Comments
 (0)