소셜 로그인- 1앱이 원본 nonce를 만들고 Apple 로그인을 시작합니다
- 2앱이 받은 identity token을 AUTH 서버로 보냅니다
- 3서버가 JWKS 서명과 issuer·audience·nonce를 검증합니다
- 4공통 형식인 SocialProfile로 바꿔 돌려줍니다
Apple 로그인은 앱이 받은 identity token과 원본 nonce를 서버 모듈의verifyIdentityToken에 넘겨 검증합니다.
공통 SocialProfile
{
provider: "APPLE",
id: string,
email: string | null,
name: string | null,
picture: string | null,
emailVerified: boolean
}