Repository navigation
build(deps): bump Auth0.Android to 4.2.0, Auth0.swift to 3.2.0 and auth0-spa-js to 2.29 - #969
Merged
Merged
Conversation
…th0-spa-js to 2.29 Updates the iOS/macOS test spy for the Authentication protocol requirements added in Auth0.swift 3.1.0/3.2.0. No public API changes. Co-Authored-By: Claude
utkrishtsahu
had a problem deploying
to
internal
October 23, 2026 08:30 — with
GitHub Actions
Failure
utkrishtsahu
had a problem deploying
to
internal
October 23, 2026 08:30 — with
GitHub Actions
Failure
utkrishtsahu
had a problem deploying
to
internal
October 23, 2026 08:30 — with
GitHub Actions
Failure
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. 🗂️ Base branches to auto review: 3
Please check the settings in the CodeRabbit UI or the ⚙️ Run configuration
You can disable this status message by setting the Use the checkbox below for a quick retry:
Comment |
subhankarmaiti
previously approved these changes
Oct 23, 2026
NandanPrabhu
previously approved these changes
Oct 23, 2026
| ], | ||
| dependencies: [ | ||
| .package(url: "https://github.com/auth0/Auth0.swift", exact: "3.0.2"), | ||
| .package(url: "https://github.com/auth0/Auth0.swift", exact: "3.2.0"), |
Contributor
There was a problem hiding this comment.
@utkrishtsahu 3.2.0 has organization support to reset password in swift. lets add in flutter if not already added
Contributor
Author
There was a problem hiding this comment.
@NandanPrabhu will take it after making this GA
….0; fix Android tests for Auth0.Android 4.2.0 Co-Authored-By: Claude <noreply@anthropic.com>
utkrishtsahu
dismissed stale reviews from NandanPrabhu and subhankarmaiti
via
October 23, 2026 08:47
cfe44b7
utkrishtsahu
had a problem deploying
to
internal
October 23, 2026 08:49 — with
GitHub Actions
Failure
utkrishtsahu
had a problem deploying
to
internal
October 23, 2026 08:49 — with
GitHub Actions
Failure
… spy conformance The setup-darwin action pinned FlutterGeneratedPluginSwiftPackage to iOS 14 / macOS 11, below the plugin minimums required by Auth0.swift 3.2.0. Also keeps the SignupPasskey login(passkey:challenge:) and 11-argument passkeySignupChallenge stubs outside #if PASSKEYS_PLATFORM, since the macOS test target does not define that flag and no Auth0.swift 3.2.0 extension method satisfies those requirements. Co-Authored-By: Claude <noreply@anthropic.com>
NandanPrabhu
approved these changes
Oct 23, 2026
2 tasks done
This branch was successfully deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
📋 Changes
Bumps the native and web SDK dependencies ahead of 3.x GA.
4.1.04.2.0auth0_flutter/android/build.gradle3.0.23.2.0auth0_flutter/darwin/auth0_flutter.podspec,auth0_flutter/darwin/auth0_flutter/Package.swift,auth0_flutter/ios/auth0_flutter.podspec,auth0_flutter/macos/auth0_flutter.podspec2.242.29auth0_flutter/README.md(CDN script tag,/2.29/),auth0_flutter/example/web/index.html(@2.29.0)JWTDecode (
4.0.0) and SimpleKeychain (1.3.0) are unchanged; they already match what Auth0.swift 3.2.0 requires.Why:
Auth0.Android 4.2.0 includes two fixes that are not in 4.1.0 (the version currently on
develop/v3.0) and that 3.x GA should ship with:credentials()withlocalAuthenticationcould fail even when the user then authenticated successfully.INCOMPATIBLE_DEVICEwhen saving credentials on newer Keystore2 hardware (Android 16+) (#1092).The 2.x line already has both: Auth0.Android 3.21.1 (MGF1, #1048) and 3.21.2 (biometric, #1098).
Auth0.swift 3.2.0 keeps the iOS/macOS SDK level in step with Android. 3.1.0 and 3.2.0 only add features (
organizationonresetPassword, passkey identifier verification), and this PR doesn't expose them. Taking the bump now, in the 3.0.0 major, avoids raising minimum OS versions later in a 3.x minor.auth0-spa-js 2.29 gives web apps the fixes from 2.24.1 through 2.29.0, including several MRRT cache fixes. The 2.25.0 release is marked breaking, but the change is TypeScript-only:
getTokenSilentlyis now typed as possibly returningundefined(#1733). The runtime JS is unchanged, so Flutter'sdart:js_interopbindings are unaffected.Minimum iOS/macOS versions raised: Auth0.swift 3.1.0 raised its floors to iOS 15 / macOS 12 (#1277; listed as a
chore, so it isn't in the 3.1.0 release notes). SPM and CocoaPods reject a dependency whose minimum is higher than the consuming package's, so the plugin has to follow:Package.swiftand all three podspecs: iOS14.0→15.0, macOS11.0→12.0.README.mdrequirements table andV3_MIGRATION_GUIDE.md(Requirements Changes, with a migration note for app Podfiles and deployment targets).CLAUDE.mdminimum versions line (also corrects Android to API 26+, already the v3 minimum)..github/actions/setup-darwin/action.yml: the step that pins the Flutter-generatedFlutterGeneratedPluginSwiftPackageto the plugin's minimums now uses iOS15.0/ macOS12.0. Without this, SPM rejects the plugin in CI.The example app already targets iOS 15 / macOS 12, so it needs no changes.
Test-only changes:
iOS/macOS: Auth0.swift 3.1.0/3.2.0 changed the
Authenticationprotocol requirements.SpyAuthentication(auth0_flutter/example/ios/Tests/AuthAPI/AuthAPISpies.swift) is updated to conform:resetPassword(email:connection:)→resetPassword(email:connection:organization:). The plugin's existing call still compiles via the SDK's new default-argument overload, which forwards to this requirement.login(passkey:verificationRequired:authSession:connection:audience:scope:organization:verification:).passkeySignupChallenge(…, deliveryMethod:).SignupPasskeylogin(passkey:challenge:…)and 11-argumentpasskeySignupChallenge(…organization:)stubs outside#if PASSKEYS_PLATFORM. The macOS test target doesn't define that flag; it previously relied on Auth0.swift's protocol extension methods to satisfy these requirements, and in 3.2.0 those extensions gained new parameters, so they no longer match.The new stubs record arguments and set the same
called…flags as the existing ones, so current tests keep passing regardless of which overload the SDK routes through.Android: Auth0.Android 4.2.0 added defaulted parameters to
signinWithPasskey(verification,verificationRequired) andsignupWithPasskey(deliveryMethod).PasskeyCredentialExchangeApiRequestHandlerTestandPasskeySignupChallengeApiRequestHandlerTestnow match the new arity. The plugin's calls are unchanged.New features in these releases (passkey identifier verification,
organizationonresetPassword, spa-js anonymous sessions, Enterprise Connect, etc.) are not exposed in Flutter here and are not documented. Passkey identifier verification is planned as a separate feature PR after GA.🎯 Testing
Run locally
xcodebuild test(same invocation as CI,-skip-testing:RunnerUITests) with Xcode 26.3 on an iPhone 17 Pro simulator (iOS 26.3). 355 test cases passed, 0 failed.setup-darwinaction: Swift Package Manager enabled,flutter pub get,pod install, the generated package pinned to iOS 15.0 / macOS 12.0, and a placeholder.env.:auth0_flutter:compileDebugKotlinbuilds againstcom.auth0.android:auth0:4.2.0(confirmed via:auth0_flutter:dependencies).scripts/sync-darwin-deps.shmakes no changes, so the podspec dependency versions are in sync withPackage.swift.com.auth0.android:auth0:4.2.0, CDNauth0-spa-js/2.29/auth0-spa-js.production.js, and unpkg@auth0/auth0-spa-js@2.29.0.