twogate/cordova-plugin-sign-in-with-apple

Cannot pass nonce and state in signin options

Opened this issue · 0 comments

The signin method is defined as signin(options?: ASAuthorizationAppleIDRequest): Promise<AppleSignInResponse>;

The documentation of ASAuthorizationAppleIDRequest states that a nonce and a state string property can be passed. However the code at SignInWithApple.m does not seem to pass the two properties to the native method.

It would be nice if nonce and state could be passed. Especially supporting nonce would be great since that is included in the JWT.