flutter_authgear 5.1.0
flutter_authgear: ^5.1.0 copied to clipboard
Authgear SDK for Flutter
Changelog #
5.1.0 #
Fixed #
- The SDK now clears the session when a token refresh fails with
invalid_dpop_proof(previously onlyinvalid_grantwas handled), so a restored refresh token that no longer matches the DPoP key no longer leavessessionStatestuck atauthenticatedwith refresh retrying forever.
Added #
SessionStateChangeEvent.errornow carries the error that triggered a session clear (e.g. anOAuthExceptionwithinvalid_grantorinvalid_dpop_proof) whenreason == SessionStateChangeReason.invalid. It isnullfor all other reasons.
Deprecated #
SettingsPage.identityis deprecated. UseSettingsPage.settingsto list identities, and methods likechangeEmail/changePhoneto change them.
5.0.0 #
Breaking changes #
- Upgraded Flutter tooling to 3.44.5 (from 3.32.8). Consuming apps should be on a compatible Flutter version.
- Android: raised the Android Gradle Plugin to 9.0.1 (from 8.7.3), Kotlin to 2.3.20 (from 2.1.0),
compileSdkto 36 (from 35), and the Java/Kotlin build target to 17 (from 11). Consuming apps must build with a JDK 17 toolchain and an AGP/Gradle version compatible with AGP 9.