pilcrowOnPaper / arctic

OAuth 2.0 clients for popular providers

Home Page:https://arctic-reddit.vercel.app

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Add nonce to AppleIdTokenClaims

rmarscher opened this issue · comments

Not sure if you omitted nonce and nonce_supported on purpose. I have some native app code that uses the nonce and noticed it was missing when I switched to arctic on my server.

Looking for

  nonce?: string;
  nonce_supported?: boolean;

to be present at

export interface AppleIdTokenClaims {
iss: "https://appleid.apple.com";
sub: string;
aud: string;
iat: number;
exp: number;
email?: string;
email_verified?: boolean;
is_private_email?: boolean;
real_user_status: 0 | 1 | 2;
transfer_sub?: string;
}

https://developer.apple.com/documentation/sign_in_with_apple/sign_in_with_apple_rest_api/authenticating_users_with_sign_in_with_apple#3383773

Thanks again!

Fixed with 0.3.5