Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Authorization failed - Error 1000 #27

Open
dev3inv opened this issue Aug 15, 2020 · 8 comments
Open

Authorization failed - Error 1000 #27

dev3inv opened this issue Aug 15, 2020 · 8 comments

Comments

@dev3inv
Copy link

dev3inv commented Aug 15, 2020

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?

@SailingSteve
Copy link

SailingSteve commented Aug 20, 2020

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.

@dev3inv
Copy link
Author

dev3inv commented Aug 21, 2020

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 :/

@tapionx
Copy link

tapionx commented Aug 24, 2020

same here, it was working last month and now i have error 1000.

@SailingSteve
Copy link

SailingSteve commented Aug 24, 2020

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.

@marioshtika
Copy link

marioshtika commented Aug 28, 2020

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?

@codeconsole
Copy link

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.

@codeconsole
Copy link

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.

@webkhushboo
Copy link

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.)"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants