-
Notifications
You must be signed in to change notification settings - Fork 198
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
App Rejected Due to Apple Login #3795
Comments
Hi @mehroozkhan, thanks for opening this issue. We'll take a look and see if we can figure out what might be happening and post updates here |
Hi @mehroozkhan , Before displaying the sign-in UI, did you check the user's auth status? One potential issue that could cause the |
@5d Thanks for your reply. Yes I do check first if the user is signed in or not through fetchAuthSession API.
|
our app got approved without changing anything in the apple login now. Very strange Apple! |
This issue is now closed. Comments on closed issues are hard for our team to see. |
Describe the bug
Our app has been rejected from app store multiple times because apple team keep getting error when they try Apple Login.
Message From Apple Review Team on every build submission is:
Attachment:
We have tested our apps in development mode and in Test Flight multiple times with different apple accounts, never got any error.
On Investigating the Amplify Error code, it is the AuthError.InvalidState error.
Login Code:
`func socialSignInWithWebUI(provider: AuthProvider?) async {
Also tried with the .preferPrivateSession() option, still rejected with this too.
Steps To Reproduce
We can't reproduce it on our end.
Expected behavior
Apple Review team successfully login and approve the app.
Amplify Framework Version
2.35.4
Amplify Categories
Auth
Dependency manager
Swift PM
Swift version
5.10
CLI version
12.10.1
Xcode version
15.4
Relevant log output
Is this a regression?
No
Regression additional context
No response
Platforms
iOS
OS Version
iOS 17.5.1
Device
iPad Air (5th generation)
Specific to simulators
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: