amplify_auth_cognito
The Amplify Flutter Auth category plugin using the AWS Cognito provider.
2.15.0
aws-amplify/amplify-flutter
What this package is like to depend on
Last release 4 days ago
19 Aug 2026
Ships fairly regularly
a new release about every 3 weeks
Most releases are documented
notes for 70 of 89 stable releases
1 version withdrawn
withdrawn after publishing
6 years old
128 releases · first in 2020
11 releases in the last 12 months
see the full history below
Release timeline
128 releases · Aug 2020 to Aug 2026Releases
latest 60 of 128-
2.15.019 Aug 2026 -
2.14.031 Jul 2026Release notes
Open source →Features
-
2.13.023 Jul 2026Release notes
Open source →Features
- feat(api): Add wasm support (#7145)
Fixes
- fix(push_notifications): Migrate from deprecated
JobIntentServicetoWorkManager(#7000)
-
2.12.121 Jul 2026Release notes
Open source →Features
- feat(auth): Add wasm support (#7094)
Fixes
- fix: Drop
dart:iofor better wasm support (#7099)
-
2.12.030 Jun 2026Release notes
Open source →Features
- feat(auth): Add Swift Package Manager support to amplify_auth_cognito (#6847)
-
2.11.023 Apr 2026 -
2.10.006 Feb 2026 -
2.9.013 Jan 2026 -
2.8.131 Dec 2025 -
2.8.009 Dec 2025Release notes
Open source →Features
- feat(auth): add support for cognito oidc parameters in managed login (#6442)
-
2.7.014 Oct 2025Release notes
Open source → -
2.6.523 Jul 2025 -
2.6.401 Jul 2025 -
2.6.317 Jun 2025 -
2.6.229 May 2025 -
2.6.107 Mar 2025 -
2.6.014 Jan 2025 -
2.5.001 Nov 2024Release notes
Open source →Features
- feat(auth, authenticator): Add support for Email OTP MFA (#5449) (#5472)
-
2.4.222 Oct 2024 -
2.4.128 Aug 2024 -
2.4.020 Aug 2024 -
2.3.017 Jul 2024 -
2.2.027 Jun 2024 -
2.1.004 Jun 2024 -
2.0.007 May 2024Release notes
Open source →We are thrilled to release version 2.0 of the Amplify Flutter libraries to add support for Amplify Gen 2. Learn more about Amplify Gen 2 at https://docs.amplify.aws.
If you are upgrading an existing project using Amplify Flutter v1 (created with Amplify Gen 1 CLI or a custom pipeline) please see the upgrade guide.
As always, you can find us on GitHub and Discord to answer any questions.
Breaking Changes
- chore!: remove deprecated auth types (#4764)
- fix!: regenerate cognito sdks to update signup operation for adding limit exceeded exception (#4781)
Fixes
-
1.8.017 Apr 2024 -
1.7.215 Mar 2024 -
1.7.113 Mar 2024 withdrawnRelease notes
Open source →- This version was retracted to avoid a breaking change introduced in (#4532)
-
1.7.004 Mar 2024 -
1.6.201 Feb 2024 -
1.6.106 Dec 2023 -
1.6.030 Oct 2023 -
1.5.025 Oct 2023 -
1.4.222 Sep 2023 -
1.4.111 Sep 2023 -
1.4.029 Aug 2023 -
1.3.317 Aug 2023 -
1.3.215 Aug 2023 -
1.3.107 Aug 2023 -
1.3.028 Jul 2023 -
1.2.107 Jul 2023 -
1.2.020 Jun 2023Release notes
Open source → -
1.1.101 Jun 2023 -
1.1.011 May 2023 -
1.0.126 Apr 2023 -
1.0.017 Apr 2023Release notes
Open source →We are thrilled to release version 1.0 of the Amplify Flutter libraries!
This release introduces a full rewrite of the Amplify libraries in Dart, allowing you to build AWS cloud-connected applications on every platform Flutter supports (iOS, Android, Web, macOS, Windows, and Linux).
If you've been using v0 in production, you can now safely migrate to v1. Check out our migration guide for more information.
As always, you can find us on GitHub and Discord to answer any questions.
New Features in the Auth category
fetchAuthSessionnow supports aforceRefreshparameter which, when passed, will refresh User Pool tokens and AWS credentials regardless if they’ve expired.- The result of
Amplify.Auth.signUpnow provides the user ID of the created user. Previously this was only available after signing in. - Custom OAuth providers are now configurable when signing in via Hosted UI.
- A new
federateToIdentityPoolAPI has been added to the Cognito plugin which allows federating directly into an Identity Pool to receive AWS credentials using a third-party identity provider (IdP) token.- Note: Since this method is only available on the Cognito plugin, it must be called directly on the plugin. The Cognito plugin can be retrieved by calling
Amplify.Auth.getPlugin(AmplifyAuthCognito.pluginKey)anytime after configuration. - This method prevents usage of any User Pool-related methods. It should only be used in scenarios where you need AWS credentials and already have a mechanism for retrieving OIDC tokens from a third-party IdP.
- Note: Since this method is only available on the Cognito plugin, it must be called directly on the plugin. The Cognito plugin can be retrieved by calling
Bug Fixes
The following issues have been fixed in this release:
- Users getting session expired right after sign in (#1271)
- Inconsistent/Incorrect behavior when fetching auth session without internet access (#760)
- Amplify.Auth.updateUserAttribute crashes app (#2361)
- Support user migration lambda function trigger & USER_PASSWORD authentication type (#442)
- Custom Auth Flow with passwordless login (#2393)
- Error while getting the getCurrentUser if mobile is connected to network without internet (#2292)
- NotAuthorizedException exception message are different on android and iOS (#2231)
- AuthException/CustomTabsNotSupportedException when default browser does not support custom tabs (#1830)
- Auth Fetch Auth Session fail after relogin (#1438)
- Not getting lamda exceptions for social login (#1279)
- Username from Auth.getCurrentUser has inconsistent casing on iOS and Android (#723)
- UpdateUserAttributeResult.isUpdated is true on Android but false on iOS if the attribute requires confirmation (#609)
- Generic AuthException is thrown when the device does not have chrome installed (#587)
- isSignUpComplete returns True in android even if the user has not been confirmed. In iOS it doesn't. (#581)
- Username is cached for use in confirmPassword on Android (#464)
- Remove browser redirection after signOut() in app using social sign in (#401)
- Force token refresh (#299)
- Amplify.Auth.getCurrentUser() return different platform results when using email based auth (#201)
-
1.0.0-next.811 Apr 2023 pre-releaseRelease notes
Open source →Breaking Changes
- chore(auth)!: send Pinpoint Endpoint id to Cognito
- refactor(auth)!: Remove generic types (#2804)
Fixes
- fix(auth): Always allow repeated
confirmSignInattempts - fix(auth): Process sign-in events once
-
1.0.0-next.8+112 Apr 2023 pre-release -
1.0.0-next.722 Mar 2023 pre-release -
1.0.0-next.607 Mar 2023 pre-release -
1.0.0-next.517 Feb 2023 pre-releaseRelease notes
Open source →Breaking Changes
- refactor(auth)!: Make attribute update step an enum
- refactor(auth)!: Make reset password step an enum
- refactor(auth)!: Make sign-in step an enum
- refactor(auth)!: Make sign-up step an enum
- refactor(auth)!: Remove category->plugin indirection for
getPlugin - refactor(auth)!: State machine facade (#2482)
-
1.0.0-next.5+121 Feb 2023 pre-release -
1.0.0-next.430 Jan 2023 pre-releaseRelease notes
Open source →Breaking Changes
- fix(auth)!: Fetch Auth Session offline behavior (#2585)
Fixes
- fix(auth): SessionExpired Auth Hub event (#2609)
-
1.0.0-next.309 Jan 2023 pre-release -
1.0.0-next.208 Dec 2022 pre-releaseRelease notes
Open source →Fixes
- fix(auth): Can't resubmit verification code (#2468)
Breaking Changes
- chore(auth)!: Make sign in result's
nextStepnon-null (#2462)
Features
- feat(auth): Add user ID to
CognitoSignUpResult(#2437)
-
1.0.0-next.2+114 Dec 2022 pre-release -
1.0.0-next.116 Nov 2022 pre-release -
1.0.0-next.1+130 Nov 2022 pre-release -
1.0.0-next.002 Aug 2022 pre-releaseRelease notes
Open source →Initial developer preview release for all platforms.
Developer Preview
The Amplify Flutter libraries are being rewritten in Dart. This version is part of our developer preview for all platforms and is not intended for production usage. Please follow our Web and Desktop support tickets to monitor the status of supported categories. We will be releasing Web and Desktop support for all Amplify categories incrementally.
For production use cases please use the latest, non-tagged versions of amplify-flutter packages from
pub.dev. They offer a stable, production-ready experience for Android and iOS. -
1.0.0-next.0+105 Aug 2022 pre-release