PackageTrack
Sign in Get early access

oauth2_client

Flutter library for interacting with OAuth2 servers, with classes for transparent authorized requests, secure token storage, automatic token refreshing.

4.3.3 30K downloads/mo #1857 most downloaded on pub.dev ThexXTURBOXx/oauth2_client

What this package is like to depend on

Last release 11 days ago

12 Aug 2026

Release timing varies

gaps range from 8 days to 10 months

Nearly every release is documented

notes for 64 of 64 stable releases

Nothing withdrawn

no release was ever pulled

6 years old

68 releases · first in 2020

12 releases in the last 12 months

see the full history below

Release timeline

68 releases · Mar 2020 to Aug 2026
2021 2022 2023 2024 2025 2026
Release Pre-release

Releases

latest 60 of 68
  1. 5.0.0-alpha.2 12 Aug 2026 pre-release
    Release notes

    [5.0.0-alpha.2] - 2026/08/12

    • Securely generate larger parameters
    • Update some documentation
    Open source →
    Release notes
    • Securely generate larger parameters
    • Update some documentation
    Open source →
  2. 5.0.0-alpha.1 07 Aug 2026 pre-release
    Release notes

    [5.0.0-alpha.1] - 2026/08/07

    • Allow flutter_secure_storage versions 11.x
    Open source →
    Release notes
    • Allow flutter_secure_storage versions 11.x
    Open source →
  3. 5.0.0-alpha.0 15 May 2026 pre-release
    Release notes

    [5.0.0-alpha.0] - 2026/05/15

    • Update flutter_web_auth_2 to 6.x alpha
    • Remove dedicated web auth flow - instead, delegate everything to flutter_web_auth_2
    Open source →
    Release notes
    • Update flutter_web_auth_2 to 6.x alpha
    • Remove dedicated web auth flow - instead, delegate everything to flutter_web_auth_2
    Open source →
  4. 4.3.3 07 Aug 2026
    Release notes

    [4.3.3] - 2026/08/07

    • Allow flutter_secure_storage versions 11.x
    Open source →
    Release notes
    • Allow flutter_secure_storage versions 11.x
    Open source →
  5. 4.3.2 07 May 2026
    Release notes

    [4.3.2] - 2026/05/07

    • Add even more exception and stack trace infos
    Open source →
    Release notes
    • Add even more exception and stack trace infos
    Open source →
  6. 4.3.1 23 Apr 2026
    Release notes

    [4.3.1] - 2026/04/23

    • Cleanup token handling
    • Improve even more error messages
    Open source →
    Release notes
    • Cleanup token handling
    • Improve even more error messages
    Open source →
  7. 4.3.0 22 Apr 2026
    Release notes

    [4.3.0] - 2026/04/22

    • Allow specifying a default http client in OAuth2Helper
    • Allow specifying a dedicated http client in more functions
    Open source →
    Release notes
    • Allow specifying a default http client in OAuth2Helper
    • Allow specifying a dedicated http client in more functions
    Open source →
  8. 4.2.5 20 Apr 2026
    Release notes

    [4.2.5] - 2026/04/20

    • Catch invalid_request errors in refreshToken (see also #13)
    Open source →
    Release notes
    • Catch invalid_request errors in refreshToken (see also #13)
    Open source →
  9. 4.2.4 01 Apr 2026
    Release notes

    [4.2.4] - 2026/04/01

    • Improve exceptions/errors
    Open source →
    Release notes
    • Improve exceptions/errors
    Open source →
  10. 4.2.3 13 Jan 2026
    Release notes

    [4.2.3] - 2026/01/13

    • Bump flutter_web_auth_2 to stable 5.x
    Open source →
    Release notes
    • Bump flutter_web_auth_2 to stable 5.x
    Open source →
  11. 4.2.2 14 Dec 2025
    Release notes
    • Bump flutter_secure_storage to stable 10.x
    Open source →
  12. 4.2.1 27 Nov 2025
    Release notes
    • Update dependency constraints
    • Update and fix lints
    • Remove unnecessary dependency on meta package
    Open source →
  13. 4.2.0 30 Apr 2025
    Release notes
    • Add support for optional parameters in revoke function
    Open source →
  14. 4.1.0 12 Mar 2025
    Release notes
    • Add TikTok OAuth 2.0 client
    • Fix example
    • Fix issues with HTTP Content-Type headers using a dirty workaround
    Open source →
  15. 4.0.1 09 Mar 2025
    Release notes
    • Update documentation properly
    • Fix a few typos here and there
    • Allow changing the client ID and client secret key names
    Open source →
  16. 4.0.0 09 Mar 2025
    Release notes
    • This package changed maintainer (to ThexXTURBOXx)
    • Updated Dart SDK requirement to >=3.5.0 (it is the most common nowadays and basically required)
    • Updated all dependencies (with breaking changes!)
    • Migrate to web and add WASM support
    • Allow send HTTP requests
    Open source →
  17. 3.3.0 03 Jul 2024
    Release notes
    • Updated dependencies
    • Fix: Check for null value before casting scope to String (thanks xolf)
    • Fix: Added support for the preferEphemeral behavior on android (thanks dlatikaynen)
    Open source →
  18. 3.2.2 27 Aug 2023
    Release notes
    Open source →
  19. 3.2.1 12 Mar 2023
    Release notes
    • Updated dependencies
    Open source →
  20. 3.2.0 12 Mar 2023
    Release notes
    • Added Twitter client
    • Added Microsoft client (thanks Eradparvar).
    Open source →
  21. 3.1.0 26 Jan 2023
    Release notes
    • Updated dependencies
    • Small fixes
    Open source →
  22. 3.0.0 20 Sep 2022
    Release notes
    Open source →
  23. 2.4.2 16 Aug 2022
    Release notes
    • Fix for breaking change in flutter_secure_storage (thanks asmith26)
    Open source →
  24. 2.4.1 17 Jul 2022
    Release notes
    • Fix accessing secure token storage on newer Android versions (thanks Piotr Mitkowski).
    • Added custom params handling for Implicit grant flow (thanks qasim90)
    Open source →
  25. 2.4.0 03 May 2022
    Release notes
    • Fix for token renewal process through the refresh token flow
    • Expose the TokenStorage class
    Open source →
  26. 2.3.3 14 Mar 2022
    Release notes
    • Expose the BaseStorage object (thanks Jon Salmon)
    • Improved documentation for android Manifest modification (thanks supermar1010)
    • Update flutter_web_auth dependency
    Open source →
  27. 2.3.2 17 Jan 2022
    Release notes
    • Fix: support fetching a new token when expired without a refresh token (thanks Tiernan)
    • Updated dependencies (thanks Menelphor)
    • Fix linter warnings
    Open source →
  28. 2.3.1 13 Dec 2021
    Release notes
    • Small fix
    Open source →
  29. 2.3.0 03 Nov 2021
    Release notes
    Open source →
  30. 2.2.7 07 Oct 2021
    Release notes
    • Fix: null check operator in WebAuth class (thanks jakub-bacic)
    Open source →
  31. 2.2.6 03 Oct 2021
    Release notes
    • Allow passing optional parameters to web_auth "authenticate" method
    Open source →
  32. 2.2.5 29 Sep 2021
    Release notes
    • Fix for authorization url params encoding
    Open source →
  33. 2.2.4 28 Sep 2021
    Release notes
    • Support ephemeral sessions (thanks ThexXTURBOXx)
    • Fixes (URI components encoding)
    Open source →
  34. 2.2.2 27 Jun 2021
    Release notes
    • Fixes (scope handling)
    Open source →
  35. 2.2.1 23 Jun 2021
    Release notes
    • Fixes (incorrect scope handling with implicit grant, send empty client secret if specified)
    • Added Reddit client (thanks lavalleeale)
    Open source →
  36. 2.2.0 29 May 2021
    Release notes
    • Web platform support!
    Open source →
  37. 2.1.0 15 Apr 2021
    Release notes
    • AccessTokenResponse refactorization. It is now possible to retrieve custom response fields through the getRespField method
    • Scopes separator can be configured with the OAuth2Client's scopeSeparator param
    Open source →
  38. 2.0.1 06 Apr 2021
    Release notes
    • Complete migration to sound null safety
    • Updated dependencies
    Open source →
  39. 2.0.0-nullsafety 30 Mar 2021 pre-release
    Release notes
    • Migration to null safety
    • Deprecated OAuth2Helper.setAuthorizationParams method
    Open source →
  40. 1.8.0 28 Mar 2021
    Release notes
    • Add compatibility with http 0.13 (thanks bangfalse)
    • Allow passing credentials location in request body or header (thanks sbu-WBT)
    • Added Shopify client (thanks sbu-WBT)
    Open source →
  41. 1.7.1 25 Feb 2021
    Release notes
    • Fixes (make httpClient optional again in OAuth2Helper)
    Open source →
  42. 1.7.0 24 Feb 2021
    Release notes
    • Added PUT, PATCH and HEAD methods to the OAuth2Helper class
    Open source →
  43. 1.6.2 31 Jan 2021
    Release notes
    • Allows iOS token reading from storage when invoked in background task
    • Small fixes
    Open source →
  44. 1.6.1 29 Oct 2020
    Release notes
    • Changed helper's token retrieval method
    Open source →
  45. 1.6.0 13 Oct 2020
    Release notes
    • Added "delete" request method to helper class
    • OAuth requests refactorization
    • Fixes (fallback token_type parameter value)
    Open source →
  46. 1.5.1 15 Sep 2020
    Release notes
    • Made "state" parameter optional
    • Fixes (refreshToken)
    Open source →
  47. 1.5.0 12 Sep 2020
    Release notes
    • Add implicit grant flow
    Open source →
  48. 1.4.6 03 Sep 2020
    Release notes
    • Allow disabling PKCE when using OAuth2Helper
    Open source →
  49. 1.4.5 23 Aug 2020
    Release notes
    • Bugfixes (check "expires_in" parameter type)
    Open source →
  50. 1.4.4 10 Aug 2020
    Release notes
    • Bugfixes (add null-aware operators)
    Open source →
  51. 1.4.3 09 Jul 2020
    Release notes
    • Token storage fix when scopes are empty
    Open source →
  52. 1.4.2 27 Jun 2020
    Release notes
    • Revocation token fixes
    Open source →
  53. 1.4.1 19 Jun 2020
    Release notes
    • Small fixes
    Open source →
  54. 1.4.0 17 Jun 2020
    Release notes
    • scopes parameter become ooptional (as per the OAuth2 specs)
    • custom query parameters sent back from the authorization code response can now be retrieved throught the AuthorizationCode.getQueryParam method
    • added afterAuthorizationCodeCb callback to handle use cases for access token requests
    • added custom params handling to the Authorization Code and the Access Token Requests
    Open source →
  55. 1.3.2 08 Jun 2020
    Release notes
    • Minor bugfixes.
    Open source →
  56. 1.3.1 05 Jun 2020
    Release notes
    • Handled situations in which no new refresh token is returned upon a refresh flow.
    Open source →
  57. 1.3.0 26 May 2020
    Release notes
    • Added revocation token ("logout") process
    • Refresh token flow is more spec compliant
    • Updated dependencies
    Open source →
  58. 1.2.4 10 May 2020
    Release notes
    • Bugfixes (optional scopes handling in the Access Token Response)
    Open source →
  59. 1.2.3 07 May 2020
    Release notes
    • Bugfixes (multiple scopes handling)
    Open source →
  60. 1.2.2 03 May 2020
    Release notes
    • Added trim for "scope" parameter
    Open source →

Every package, every release, already written down.

The archive is open and free. Watching your own project is what we are building next.

Browse the archive