Error: Sign-Up Not Completed

Sign in With Apple shows this error "Sign-Up Not Completed" when we tap on continue button and after verifying Face ID.

Answered by DTS Engineer in 406075022

The Sign in with Apple servers require percent encoding (or URL encoding) for its query parameters. If you are using the Sign in with Apple REST API, you must provide values with encoded spaces (`%20`) instead of plus (`+`) signs. For example, if your request URL currently looks like this—


.../auth/authorize?client_id=<CLIENT_ID>&redirect_uri=<REDIRECT_URI>&response_type=code+id_token&scope=name+email&response_mode=form_post&state=<STATE>&nonce=<NONCE>
Please attempt again after updating the request URL to the following—
.../authorize?client_id=<CLIENT_ID>&redirect_uri=<REDIRECT_URI>&response_type=code%20id_token&scope=name%20email&response_mode=form_post&state=<STATE>&nonce=<NONCE>

I have noticed the same issue on my own apps. I cannot login, and no error is sent to the ASAuthorizationControllerDelegate. Here is a screenshot of the error in my test app:


https://shireman.net/images/IMG_1078.PNG


I cannot find anything wrong with my account, and it's not an error in any one application. I tested on both an existing app and a new app as shown in the screenshot. Any advice would be helpful.

This is working fine for us today without making any changes!

Our team also encountered this "Sign-Up not completed" issue today. Like sloshire1 mentioned, no error is sent to the delegate. Interestingly enough, the issue only happens when the user chooses to hide their email. Just for sanity, confirmed that the user hasn't revoked Apple ID permission from Settings. Seems like this is an issue on Apple's end as he has the same Sign In with Apple issue on a completely different app as well.

I have the same issue but it happens whether or not the user is hiding their email.


Has anyone figured out a way to debug this / get a better error message?

I'm having the exact same issue as well? Has anybody figured it out. I'm completely stuck.

Hi


Please create a Feedback Assistant item with the following information:

Your team ID

Your application ID

Apple ID account that is facing the issue


We will check this out.

Hi,


I had this issue ("Sign Up Not Completed") and I solved it by encoding parameters (redirect_uri and response_type). Somehow, the Sign In with Apple from an iPhone/iPad using Face ID/Touch ID isn't working if the parameters aren't encoded, but the ones from a non-Apple device are working fine.

What do you mean by 'encoding' them? URL encoding? Base64 encoding?


Thanks,

Accepted Answer

The Sign in with Apple servers require percent encoding (or URL encoding) for its query parameters. If you are using the Sign in with Apple REST API, you must provide values with encoded spaces (`%20`) instead of plus (`+`) signs. For example, if your request URL currently looks like this—


.../auth/authorize?client_id=<CLIENT_ID>&redirect_uri=<REDIRECT_URI>&response_type=code+id_token&scope=name+email&response_mode=form_post&state=<STATE>&nonce=<NONCE>
Please attempt again after updating the request URL to the following—
.../authorize?client_id=<CLIENT_ID>&redirect_uri=<REDIRECT_URI>&response_type=code%20id_token&scope=name%20email&response_mode=form_post&state=<STATE>&nonce=<NONCE>

Thanks @ppinkney! This fixed our issue when signing in Safari on iOS13 + Catalina.


However if the user hits cancel, we are not seeing the redirect to `redirect_uri`. Can you think of anything that comes to mind ?

This was the solution I came too after backwards engineering the links generated by the apple-provided JS plugin. Encoding for spaces as `+` is not liked. Worrying that they are excepted elsewhere in the apple sign-in product, and that there's this level of inconsistency.

Hi, I am also facing this problem now. "Sign Up not completed" shows up in every app on my companys apple developer account. I haven't connected it to backend yet, just trying to print out email and full name to the console, but this shows up anyway. I created the test project on my friends developer account and everything is working fine. Could it be the problem with my companys developer account?

hi, have you solved it?

hi, Have you solved it? we also encountered this problem

We are also seeing this issue on all new apps created after a certain date. Recreated profiles and entitlements does not help. Works with same code on older apps. We are not using server side redirect flow, therefore the solution above does not apply

hi, have you solved it? it's wroking on my company device but not working at apple reviewer side thye reject my app. plz help me if you solve this issue .

@nishee Haven't solved it, I refered the reviewers to this thread and they approved it. To me it looks like a general problem with recently generated bundle ids.

On Mar 6, 2020, codeMaestro wrote:


> However if the user hits cancel, we are not seeing the redirect to `redirect_uri`. Can you think of anything that comes to mind ?


This is behavior is by design and is expected. When a user attempts to authorize an app with the native authentication, the application and/or browser is not provided with any information from the native authentication sheet (unless the user successfully authorizes access). There is no way to currently track if a user cancels the native authentication flow and it should be considered an expected unknown error.

I'm having the same problem, it works on my test devices and even on external beta testers, but the Apple reviewer gets the "Sign Up Not Completed" error. Have you solved it?

How do you refer this thread to reviewers? We are facing the exactly same issue during the review.

Can you help to check the latest update on this thread, regarding the native app using Sign-in-with-apple function?
Seems to be a general problem.

This happened to someone at my company and we believe it was caused by their Apple ID being an old @me.com email address. After they updated their email, signed out and back in to iCloud with their Apple ID on their device, they were able to use Sign in with Apple without problems. I mentioned this to the reviewer but all they told me was that they are using a "valid iCloud account." I'm going to try referring them to this thread next.

The specific error that comes back from the ASAuthorizationControllerDelegate's didCompleteWithError callback is "canceled."

More on "canceled" error:
https://developer.apple.com/documentation/authenticationservices/asauthorizationerror/code/canceled

More on @me.com email address:
https://support.apple.com/en-us/HT201771
I have found a solution, it works for me, I hope it can help you.
Here is my solution:
  1. Enter the edit page of my App ID on Apple developer website.

  2. Uncheck the "Sign In with Apple" option in the capabilities list, then click save.

  3. Check the "Sign In with Apple" option again, and click save.

I also have a user with an @mac.com email address facing the same issue.
Update: the user told me that the manage your Apple ID website forced him to update his email address, and now Sign in with Apple works
Error: Sign-Up Not Completed
 
 
Q