Skip to content

Commit

Permalink
feat: auth login param 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
capDoYeonLee committed Oct 4, 2024
1 parent e6f053c commit bf192b7
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -49,9 +49,9 @@ public AuthController(LoginUsecase loginUsecase, TokenResponseConverter tokenRes
@Operation(
summary = "로그인을 한다.",
description = "PathVariable에 담긴 oauthServerType과 QuertParm인 redirect_url, code를 받아 액세스 토큰과 리프레시 토큰을 발급한다.")
@PostMapping("/login/{oauthServerType}")
@PostMapping("/login")
ApiResponse<SuccessBody<TokenResponse>> login(
@PathVariable String oauthServerType,
@RequestParam ("type") String oauthServerType,
@RequestParam("code") String code,
@RequestParam("redirect_uri") String uri,
HttpServletResponse httpResponse) {
Expand Down

0 comments on commit bf192b7

Please sign in to comment.