-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* feat: 카카오 로그인 요청 DTO 정의(#88) * feat: 카카오 로그인 요청 로직 수정(#88) 카카오 로그인 API의 bad request 응답에 대한 예외 처리 추가 * feat: 카카오 로그인 비즈니스 로직 수정(#88) request dto를 통해 로그인 수행하도록 로직 변경 * feat: 카카오 로그인 API 추가(#88) - 인가 코드를 프론트에서 넘겨받는 플로우로 로그인 로직 재구성 - 새로 API 구현 및 명세
- Loading branch information
Showing
4 changed files
with
39 additions
and
24 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
12 changes: 12 additions & 0 deletions
12
src/main/java/org/example/tokpik_be/login/dto/request/LoginByKakaoRequest.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
package org.example.tokpik_be.login.dto.request; | ||
|
||
import io.swagger.v3.oas.annotations.media.Schema; | ||
import jakarta.validation.constraints.NotBlank; | ||
|
||
public record LoginByKakaoRequest( | ||
@Schema(type = "string", description = "카카오 서버로부터 받은 인가 코드", example = "code") | ||
@NotBlank(message = "인가 코드는 필수 값") | ||
String code | ||
) { | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters