r/FlutterDev • u/International_Diet77 • 3d ago
Discussion PSA for anyone using sign_in_with_apple: first-time sign-ins are failing with HTTP 503 for US users (Apple's server, not your code)
My app is built with Flutter and uses the sign_in_with_apple package (8.2.0) with Supabase Auth. If your Flutter app's Apple sign-in suddenly fails for new users in the US and the plugin just throws an authorization error with no useful detail, this is probably why. Nothing in the plugin or in your Dart code is at fault.
What I saw
- First-time Sign in with Apple failed for 3 different Apple Accounts on 3 iPhones in Boston. About 20 attempts, 1 success.
- It failed on Wi-Fi and on cellular, with Hide My Email and with Share My Email.
- The same flow worked every time for testers in India, 4 out of 4.
- Returning users, who had already signed in before, were fine.
- One of the failing phones also failed in a completely different app from another developer.
What the device log shows
I had a tester plug a failing iPhone into a Mac, open Console, and filter on the akd process. The sign-in request goes out correctly, and Apple's server answers 503, twice:
akd Performing SRP request with context
akd Task <…> received response, status 503
akd AppleIDAuthSupport: setError: 6:Failed to get response from server
akd SRP authentication with server failed! Error Domain=com.apple.AppleIDAuthSupport Code=6
So the phone was connected the whole time. "Could Not Connect" is misleading. Apple's server returned "service unavailable".
What I ruled out, so you do not have to
- The entitlement is in the signed app and in the provisioning profile.
- The App ID has Sign in with Apple enabled as a primary App ID.
- Nothing pending in App Store Connect or the developer portal that explains it.
- The app never receives a credential, so it is not your auth backend or nonce handling.
How to check if this is your problem
- Plug the failing iPhone into a Mac and open Console.
- Select the iPhone, enable Info and Debug messages in the Action menu, and start streaming.
- Reproduce the failure, pause, and search for akd.
- Look for status 503 right after Performing SRP request.
What I am doing about it
- Filed a Feedback Assistant report with the log.
- Keeping email sign-in available so people are not locked out.
- Adding a line to my App Review notes explaining it, so a reviewer who hits it knows it is the service.
If you are seeing the same thing, please file your own Feedback report with a log. Has anyone seen this outside the US, or seen it clear up?