Skip to content
This repository has been archived by the owner on Oct 20, 2024. It is now read-only.

Commit

Permalink
[FIX]: code 발급 코드 추가
Browse files Browse the repository at this point in the history
  • Loading branch information
LEEJaeHyeok97 committed Jan 17, 2024
1 parent 4173afd commit af2bbc6
Showing 1 changed file with 9 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -38,15 +38,15 @@ public class AuthController {
private final KakaoService kakaoService;


// @Operation(summary = "카카오 code 발급", description = "카카오 API 서버에 접근 권한을 인가하는 code를 발급받습니다.")
// @ApiResponses(value = {
// @ApiResponse(responseCode = "200", description = "code 발급 성공", content = {@Content(mediaType = "application/json", schema = @Schema(implementation = AuthRes.class))}),
// @ApiResponse(responseCode = "400", description = "code 발급 실패", content = {@Content(mediaType = "application/json", schema = @Schema(implementation = ErrorResponse.class))}),
// })
// @GetMapping(value = "/login")
// public void socialLoginRedirect() throws IOException {
// kakaoService.accessRequest();
// }
@Operation(summary = "카카오 code 발급", description = "카카오 API 서버에 접근 권한을 인가하는 code를 발급받습니다.")
@ApiResponses(value = {
@ApiResponse(responseCode = "200", description = "code 발급 성공", content = {@Content(mediaType = "application/json", schema = @Schema(implementation = AuthRes.class))}),
@ApiResponse(responseCode = "400", description = "code 발급 실패", content = {@Content(mediaType = "application/json", schema = @Schema(implementation = ErrorResponse.class))}),
})
@GetMapping(value = "/login")
public void socialLoginRedirect() throws IOException {
kakaoService.accessRequest();
}

@Operation(summary = "유저 정보 확인", description = "현재 접속 중인 유저의 정보를 확인합니다.")
@ApiResponses(value = {
Expand Down

0 comments on commit af2bbc6

Please sign in to comment.