Skip to content

Update AppAuth dependency minimum to 2.1.0#603

Open
w-goog wants to merge 3 commits into
mainfrom
update-appauth-2.1.0
Open

Update AppAuth dependency minimum to 2.1.0#603
w-goog wants to merge 3 commits into
mainfrom
update-appauth-2.1.0

Conversation

@w-goog

@w-goog w-goog commented Jun 12, 2026

Copy link
Copy Markdown
Contributor

Raises the AppAuth-iOS dependency minimum to 2.1.0 (release notes) ahead of the GoogleSignIn-iOS 9.2.0 release, and adopts the new AppAuth API:

  • GoogleSignIn.podspec: AppAuth ~> 2.0~> 2.1
  • Package.swift / Package@swift-5.5.swift: AppAuth-iOS from: "2.0.0"from: "2.1.0"
  • CHANGELOG.md: entry under Unreleased
  • GIDSignIn.m: adopt resumeExternalUserAgentFlowWithURL:error: (passing a nil error outparam, behaviorally identical to the now-deprecated resumeExternalUserAgentFlowWithURL:). Required alongside the bump: AppAuth 2.1.0 deprecates the old selector, and the resulting warning fails pod lib lint. Since 2.1.0 is live on the CocoaPods trunk, main's ~> 2.0 already resolves to it — this failure will exist on all PRs until this change lands. Notably, the old method was swapped to call the new one, so this change is net-neutral on risk.
  • Samples/Swift/DaysUntilBirthday: add Claim.swift to the DaysUntilBirthdayForPod project so the sample builds with CocoaPods (folded in from g-orchestrated: add Claim.swift to DaysUntilBirthdayForPod project #604, which is closed as superseded).

AppAuth 2.1.0 brings the in-app browser fallback removal (openid/AppAuth-iOS#954) and resumeExternalUserAgentFlowWithURL:error: (openid/AppAuth-iOS#955). SPM dependency resolution verified locally (AppAuth resolves at 2.1.0).

Note for reviewers: swift-button-functional-test is a pre-existing flake (same failures on main pushes from March–April) and is unrelated to these changes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants