question

furkan-gencturk avatar image
furkan-gencturk asked

Login with Apple Token Error

Hi all,

We are using LoginWithAppleAsync in our Unity production build and log res.Error.GenerateErrorReport() when there is an error. We have seen a great number of users experiencing the following error in the last a few days.

We want to handle this error using PlayFabErrorCode enum, but we do not know what is PlayFabErrorCode is returned in this case, since we do not log it and GenerateErrorReport() does not log it.

Does someone know what PlayFabErrorCode might refer to this specific error that we get?

IDX10501: Signature validation failed. Unable to match key: 
kid: 'eXaunmL'. Exceptions caught: ''. token: '{"kid":"eXaunmL","alg":"RS256"}.{"iss":"https://appleid.apple.com","aud":"-","exp":1630616127,"iat":1630529727,"sub":"000465.6a2690d25be241599d871cb06871598f.1155","c_hash":"91MY2Bfv1jpa5pUwB7TusA","auth_time":1630529727,"nonce_supported":true}'. Failed to Enumerate RequestId. Exception message: Object reference not set to an instance of an object.
10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1 Answer

·
Gosen Gao avatar image
Gosen Gao answered

GenerateErrorReport will only log the error message to the console, if you want to get the Error Code, you can try to log the PlayFabError.Error.

1 comment
10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Seth Du avatar image Seth Du ♦ commented ·

It is also worth to mention that currently there is an incident on Apple Login, please track this issue on PlayFab Status - GameClient/LoginWithApple error: NotAuthorized since 3/1/2022

0 Likes 0 ·

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.