Skip to content

Commit

Permalink
Merge pull request #156 from Kusitms-28th-MeetUp-C/feature/150-roadmap
Browse files Browse the repository at this point in the history
[fix]: Main 로그인 코드 변경
  • Loading branch information
qogustj committed Nov 20, 2023
2 parents 8089353 + e3e6161 commit 7f28e9c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
public class UserController {
private final AuthService authService;

@PostMapping("/signIn")
@PostMapping("/signin")
public ResponseEntity<SuccessResponse<?>> signIn(@RequestHeader("Authorization") final String authToken,
@RequestBody final UserSignInRequestDto requestDto) {
final UserAuthResponseDto responseDto = authService.signIn(requestDto, authToken);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,10 @@ public class SecurityConfig {
private final CorsConfig corsConfig;
private final JwtProvider jwtProvider;
// TODO api 추가될 때 white list url 확인해서 추가하기.

private static final String[] whiteList = {"/", "/api/user/signin"};


@Bean
public WebSecurityCustomizer webSecurityCustomizer() {
return web -> web.ignoring().requestMatchers(whiteList);
Expand Down

0 comments on commit 7f28e9c

Please sign in to comment.