Skip to content

Revert to AppAuth SDK v1.7.6 Due to Apple App Review Rejection on v2.0.0 #933

@chauyong

Description

@chauyong

Describe the bug
After updating our app to use AppAuth SDK version 2.0.0, our submission was rejected by Apple during App Review. The reviewer indicated that the app redirects users to the default browser (Safari) to sign in or register, which violates Apple’s user experience guidelines.

The rejection note stated:
“We noticed that the user is taken to the default web browser to sign in or register for an account, which provides a poor user experience.”

However, we did not change our integration logic between versions. The only difference was upgrading the SDK from 1.7.6 to 2.0.0.

After reverting back to 1.7.6, the app was approved without issue.

This suggests there may have been internal changes in the SDK behavior related to how the authentication flow is handled or presented.

To Reproduce
Steps to reproduce the issue with AppAuth iOS SDK v2.0.0:
1. Integrate AppAuth SDK v2.0.0 into an iOS app.
2. Launch the app and trigger the login flow using the standard AppAuth OIDAuthorizationService.
3. Observe the behavior when Safari View Controller is presented.
4. Submit the app to Apple for review.
5. Review feedback reports app rejection due to using a default browser.

Expected behavior

  • The Safari View Controller should be used to present the authorization flow within the app, not redirect users to the external Safari browser.
  • The sign-in experience should meet Apple’s guidelines and be consistent with previous SDK behavior (as in v1.7.6).

Environment

  • Device: iPhone 16 Pro Max
  • OS: iOS 16.0+
  • Browser (in-app): Safari View Controller (SFSafariViewController)
  • AppAuth SDK Versions:
  • Working: 1.7.6
  • Rejected: 2.0.0

Additional context
We have not changed our implementation across SDK versions—only the library version itself. The login is initiated through OIDAuthorizationService.present() using the standard flow with SFSafariViewController.

After reverting to version 1.7.6, our app passed Apple Review with no issues. This raises concern that there may be a breaking behavioral change in how AppAuth 2.0.0 handles the authorization UI, possibly falling back to an external Safari browser under certain conditions.

Request:
Could someone from the maintainers clarify if anything has changed in 2.0.0 that would result in a fallback to the default browser or change how Safari View Controller is handled?

If this is unintended, we would appreciate insights or a possible patch. Otherwise, we may need to pin to 1.7.6 indefinitely.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugtriageIssues that need to be triaged

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions