Titles are seeing a behavior change with LoginWithApple - pre-existing players are now getting "NotAuthorized" in response to the LoginWithApple with no change to the code.
Titles are seeing a behavior change with LoginWithApple - pre-existing players are now getting "NotAuthorized" in response to the LoginWithApple with no change to the code.
What we're seeing is that clients hitting this error are sending invalid Identity Tokens. The issue appears to have been caused by the signing certificate at Apple having been rotated on 2022.02.28, around 14:00 UTC. The only way to fix this is to clear the token stored client-side on the device.
Hi Brendan:
I see this problem now, what reason could it be?
How should I 'clear the token stored client-side'?
I tried in ios device->settings->my profile(first item in settings pannel)->Apps Using APple ID, remove my game inside, still not working, server gives me "NotAuthorized"
Oh, I got it works. It's because I'm using a Unity 'sign in with apple' plugin that polluted the JWT(Json Web Token) apple sends back after logged in.
Unity removed its official apple signin example so I spend a lot of time trying to figure this out.
Finally, I got that removed example and get the code up and running. It has nothing to do with Playfab.
DON'T use this plugin, it's stupid and full of useless code and flooded with useless design patterns. Use the Unity official example. If you can't find it, I put it here on Github
12 People are following this question.