cordova-plugin-sign-in-with-apple
cordova-plugin-sign-in-with-apple copied to clipboard
Authorization failed - Error 1000
When I try to use the login I get an error 1000. I have configured the sign in with apple capability, do you have any idea that another action could generate this problem?
I had this working last week, and now I am getting error 1000 again. How dumb (on Apples part) to even have an error 1000 with no explanation that lots of people run into.
Exactly, the same thing happened to me. 2 weeks ago it was working fine, but last week it failed and I still haven't found a solution :/
same here, it was working last month and now i have error 1000.
I test using an ngrok tunnel to the backend (in our case Django Python) running on my Mac. And in this case last week I started getting error 1000.
Today, on an actual iPhone Xs Max, I get the following response (tokens and user codes shortened ...)
{"email":"","authorizationCode":"ca05db...d7f.0.mruxr.ldAyZWU4oap...RQ","state":"","identityToken":"eyJraWQiOiI...O_CYxnlLBgkQLRjZCnjc1MS6N0g","fullName":{"nickname":"","phoneticRepresentation":{},"middleName":"","familyName":"","namePrefix":"","givenName":"","nameSuffix":""},"user":"001471.b4fbedffd8c14238afed43089ab73549.2015"}
It is strange that the email is "", as well as the name fields at the end are all blank. I would expect the name fields to be not there on the second sign in on the device, and populated with data on the first. Something must have changed.
So I am now able to get the cordova-plugin-sign-in-with-apple working on a real phone tethered to XCode via a USB cable, but still get error 1000 with Simulator instances.
The response that I am getting on my tethered phone today, has a good JWT in the identityToken field, and when I send it to my server and decrypt it there, I get good data: name and email on the first signin with siwa on the phone, and just the email on subsequent signins.
I was having the same problem. I was testing it on an emulator and I was getting the 1000 error. But when I uploaded to Testflight it worked. Is this something that Apple is not allowing to be tested on an emulator anymore?
I think this has to do with the number of times you tested on that device or account. I launched an emulator for a different device and it worked. I am assuming that if I reset the other device it will work or perhaps waiting a certain amount of time will allow access again.
If I delete the simulator here: https://appleid.apple.com/account/manage then erase all content and settings on simulator then deploy the app again, it works.
apple login is working on emulator but when I am creating build and installing on real device its not working . Can somebody help me ?
When I try to debug the issue . I got this issue
code: "1000" error: "ASAUTHORIZATION_ERROR" localizedDescription: "The operation couldn’t be completed. (com.apple.AuthenticationServices.AuthorizationError error 1000.)"