Hi, I am using AuthSession feature to login users to my app and they rejected in the App store with the following message:
Guideline 3.1.4 - Business - Payments - Content Codes
Your app unlocks or enables additional functionality with mechanisms such as promo codes, data transfer codes, license keys, augmented reality markers, or QR codes, which is not appropriate for the App Store.
Guideline 4.0 - Design
We noticed that the user is taken to Safari to sign in or register for an account, which provides a poor user experience.
To resolve this issue, please revise your app to enable users to sign in or register for an account in the app.
We recommend implementing the Safari View Controller API to display web content within your app. The Safari View Controller allows the display of a URL and inspection of the certificate from an embedded browser in an app so that customers can verify the webpage URL and SSL certificate to confirm they are entering their sign in credentials into a legitimate page.
For additional information on the Safari View Controller API, please review the What’s New in Safari webpage.
Do you know how I can fix this issue, is the AuthSession not allowed in iOS to be used?