How to debug SignInWithAppleButton?

I am trying to authenticate users and get their name and email by using the SignInWithAppleButton with SwiftUI.

I am working from this youtube guide (https://www.youtube.com/watch?v=Behzb624Wqs), which is similar to other examples I found web browsing. Please let me know if it would be helpful to post my code.

However, when I tap the button and "share my email" and tap "Continue", I then receive a "Sign Up Not Completed" notification in the UI. After a pause, the UI returns to let me "Continue" again and I can repeat the problem.

If I close the sign in sheet, I receive this error message in the console:

2022-11-30 12:48:52.576788+0000 SIWATest[12785:2650974] [siwa] Authorization failed: Error Domain=AKAuthenticationError Code=-7003 "(null)" UserInfo={AKClientBundleID=[XXX bundle ID XXX]}

Authorization failed: The operation couldn’t be completed. (com.apple.AuthenticationServices.AuthorizationError error 1001.)

I have the Sign In With Apple capability enabled. How might I debug the problem? Would appreciate any tips!

I am facing the same issue. This issue even arises with the sample code Juice app.

The entitlements file looks correct, as well as the provisioning profile. Completely stuck!

I am facing the same issue. I have spent around 4 hours trying to look through forums and trying many different fixes. I seems like it is a bug from Apple's side and I have reported. I will let you know if I hear anything back.

Right, same problem with me, the system is stuck (cached) I've already spent couple of days testing

https://developer.apple.com/forums/thread/720921

How to debug SignInWithAppleButton?
 
 
Q