Skip to content

Commit

Permalink
Fix: jwt 재발급 테스트
Browse files Browse the repository at this point in the history
  • Loading branch information
sejoon00 committed Jun 10, 2024
1 parent b29d8bf commit ebfe9eb
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
public class SecurityConfig {

private final JwtTokenService jwtTokenService;
String[] allowUrls = {"/", "/swagger-ui/**", "/v3/**", "/docs.html", "/api-docs/**", "/member/login", "/member/teacher/signUp", "/member/student/signUp"};
String[] allowUrls = {"/", "/swagger-ui/**", "/v3/**", "/docs.html", "/api-docs/**", "/member/login", "/member/teacher/signUp", "/member/student/signUp", "/Auth/**"};

@Bean
public SecurityFilterChain securityFilterChain(HttpSecurity http) throws Exception {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
package Chaeda_spring.global.security.jwt;
package Chaeda_spring.global.security.jwt.controller;


import Chaeda_spring.global.security.jwt.dto.TokenDto;
import Chaeda_spring.global.security.jwt.service.JwtTokenService;
import io.swagger.v3.oas.annotations.Operation;
import lombok.RequiredArgsConstructor;
import org.springframework.http.ResponseEntity;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
Expand All @@ -18,7 +18,7 @@ public class AuthController {

private final JwtTokenService jwtTokenService;

@GetMapping("/token/reissue")
@PostMapping("/token/reissue")
@Operation(summary = "AT RT 재발급")
public ResponseEntity<TokenDto> reIssue(
@RequestBody TokenDto tokenDto
Expand Down

0 comments on commit ebfe9eb

Please sign in to comment.