[feat/#204] 애플 소셜 로그인 구현 #205
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
❤️ 기능 설명
Apple Sign In with REST API를 통한 소셜 로그인 기능을 구현했습니다.
주요 변경사항
JWT 기반 client-secret 동적 생성
AppleClientSecretGenerator: ES256 알고리즘으로 Apple 요구사항에 맞는 JWT 생성OAuth2 Token 교환 커스터마이징
AppleOAuth2Config: Apple 로그인 시에만 동적 생성된 client-secret을 주입RestClientAuthorizationCodeTokenResponseClient의 ParameterConverter 활용OIDC User Service 구현
CustomOAuth2UserService→CustomOidcUserService로 네이밍 변경form_post 방식 지원
HttpCookieOAuth2AuthorizationRequestRepository: Authorization Request를 쿠키에 저장response_mode=form_post설정보안 및 CORS 설정
https://appleid.apple.com)에 대한 CORS 허용swagger 테스트 성공 결과 스크린샷 첨부
연결된 issue
연결된 issue를 자동으로 닫기 위해 아래 {이슈넘버}를 입력해주세요.
close #204
✅ 체크리스트