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

A native-implemented plugin of Sign in with Apple // Thanks to your contribution! // Cordova>=8 iOS>=13
https://www.npmjs.com/package/cordova-plugin-sign-in-with-apple
MIT License
74 stars 48 forks source link

SignIn after manual revocation does not use scopes #41

Open landabaso opened 2 years ago

landabaso commented 2 years ago

I am having an issue (testing with iOS 16 on a Simulator, I don't know about other versions).

I'm doing manual token revocation as a first step before implementing programatic revocations (https://appleid.apple.com/auth/revoke). I'm not sure yet whether programatic revocations may fix the issue. I don't think it will but I will give it a try.

After a few hours something is reset and then it works again. So this may be some problem with Apple?

I've read about similar problems here: https://github.com/capacitor-community/apple-sign-in/issues/44 and here https://github.com/invertase/react-native-apple-authentication/issues/282#issuecomment-1172265188

landabaso commented 2 years ago

After further experimentation, it appears that this strange behavior only occurs in the Simulator. Tests on a real device work as expected. However, this can still be a problem in case Apple reviewers try to delete and create new accounts.