Skip to content

flutter_appauth-v13.2.0

Latest

Choose a tag to compare

@MaikuB MaikuB released this 04 Dec 22:21
ddc8021
  • [iOS][macOS] bumped AppAuth iOS SDK dependency to 3.1.0 for apps using Swift Package Manager. This version of the SDK is not published to CocoaPods, so apps using CocoaPods stay on 3.0.0
  • [iOS] added support for https redirect URIs on iOS 17.4 and newer for apps using Swift Package Manager. This is provided by AppAuth iOS SDK 3.1.0 and works with the ExternalUserAgent.asWebAuthenticationSession and ExternalUserAgent.ephemeralAsWebAuthenticationSession external user agents. No Dart API changes are required — pass an https redirect URL as usual. See the readme for the requirements, including the webcredentials Associated Domains entitlement
  • [iOS] ExternalUserAgent.ephemeralAsWebAuthenticationSession now uses the AppAuth iOS SDK's own OIDExternalUserAgentIOS with prefersEphemeralSession enabled instead of the plugin's copy of it. As a result, if the ASWebAuthenticationSession fails to start (e.g. Guided Access is enabled), the request now fails with an error instead of falling back to a SFSafariViewController. This matches the behaviour of ExternalUserAgent.asWebAuthenticationSession
  • [macOS] ExternalUserAgent.ephemeralAsWebAuthenticationSession now uses the AppAuth iOS SDK's OIDExternalUserAgentMac with prefersEphemeralSession enabled instead of the plugin's copy of it