fix: Apple 로그인 identityToken 요청 호환 처리 - #127
Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (3)
Included review availability: Your plan includes up to 1 review per rolling hour; 0 remain after this review. 📝 WalkthroughWalkthroughApple social login now accepts ChangesApple login compatibility
Estimated code review effort: 2 (Simple) | ~10 minutes Merge Risk: ⚪ Minimal · up to This localized change adds Apple login identityToken compatibility while preserving existing token requests and includes regression coverage; no actionable merge-blocking risk remains after normal checks and review. 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
| @@ -1,5 +1,6 @@ | |||
| package com.moru.server.domain.member.dto; | |||
|
|
|||
| import com.fasterxml.jackson.annotation.JsonAlias; | |||
There was a problem hiding this comment.
@JsonAlias는 Jackson 역직렬화에만 적용되고 springdoc이 만드는 OpenAPI 스키마엔 반영 안 된다고 합니다. @Schema description에 텍스트로만 적어놨는데, 스키마 필드 목록엔 여전히 token만 나와서 문서만 보고 연동하는 프론트 개발자는 identityToken 지원 여부를 놓칠 수 있다고 하네용.
해결법: 별도 스키마 수정까진 필요 없고, 앱 팀에 별도 공지하거나 PR 설명에 "identityToken도 받음" 명시하면 좋을 것 같습니다!
🎋 작업중인 브랜치 및 이슈
fix/126-apple-login-identity-token🔑 주요 변경사항
identityToken을 소셜 로그인 DTO의token별칭으로 처리했습니다.token필드를 사용하는 요청과의 호환성을 유지했습니다.identityToken및 기존token요청에 대한 회귀 테스트를 추가했습니다.Check List
Summary by CodeRabbit
identityTokenin requests.tokenrequests remain supported for backward compatibility.