PackageTrack
Sign in Get early access

oauth_webauth

This plugin provides an alternative to AppAuth using WebView for OAuth 2.0 authorization/authentication.

5.2.0 2.8K downloads/mo #4776 most downloaded on pub.dev luis901101/oauth_webauth

What this package is like to depend on

Last release 2 months ago

03 Jun 2026

Release timing varies

gaps range from 2 weeks to 1.3 years

Nearly every release is documented

notes for 20 of 21 stable releases

1 version withdrawn

withdrawn after publishing

5 years old

23 releases · first in 2021

2 releases in the last 12 months

see the full history below

Release timeline

23 releases · Dec 2021 to Jun 2026
2022 2023 2024 2025 2026
Release Pre-release Withdrawn

Releases

latest 23
  1. 6.0.0-beta.1 03 Jun 2026 pre-release
    Release notes

    Changed

    • Changed flutter_inappwebview: ^6.2.0-beta.3
    Open source →
  2. 5.2.0 16 Dec 2025
    Release notes

    Added

    • Added support for usePathUrlStrategy() to clear the path after init.
    Open source →
  3. 5.1.0 14 Aug 2024
    Release notes

    Added

    • userAgent can now be set in OAuthConfiguration and BaseConfiguration.
    • useHybridComposition can now be set in OAuthConfiguration and BaseConfiguration.
    Open source →
  4. 5.0.0+1 15 Jan 2024
    Release notes

    Changed

    • flutter_inappwebview plugin updated to new breaking change ^6.0.0
    • iOS sample project minimum deploy target updated to 13
    • Android sample project targetSdkVersion updated to 34
    • Sample project updated
    Open source →
  5. 4.0.3+1 21 Sep 2023
    Release notes

    Changed

    • WebView updated with transparentBackground: true so no white background before loading the page.
    Open source →
  6. 4.0.2+1 04 Sep 2023
    Release notes

    Added

    • Adds pub topics to package metadata.

    Changed

    • Minor changes on BaseWebView and OAuthWebView to allow more flexibility when extending it.
    Open source →
  7. 4.0.1+1 17 May 2023

    Nothing published for this version

  8. 4.0.1+2 17 May 2023
    Release notes

    Changed

    • Added support for Dart 3.
    • Replaced window singleton with FlutterView.
    • Updated clearCache and clearAll functions with optional BuildContext to support FlutterView

    Thanks @frederikstonge) for PR #12

    Open source →
  9. 4.0.1+3 18 Jul 2023
    Release notes

    Changed

    • Updated http package version to '>=0.13.0 <2.0.0' for better compatibility.
    Open source →
  10. 4.0.0+14 04 Apr 2023
    Release notes

    Added

    • Added support to clearCache and clearCookies directly from OAuthWebAuth.instance.

    Changed

    • OauthWebScreen renamed to OAuthWebScreen and OauthWebView renamed to OAuthWebView.
    • Full code refactor to use BaseConfiguration(...) and OAuthConfiguration(...). See readme for migration.
    • SDK constraints updated to sdk: ">=2.19.0 <3.0.0" and flutter: ">=2.0.0".

    Fixed

    • Fixed bug in redirect url handling that caused invalid_grant due to content after # in url.
    Open source →
  11. 3.1.2+13 28 Oct 2022
    Release notes

    Fixed

    • Fixed bug on BaseOAuthFlowMixin onSuccess function that caused wrong flow cancellation on baseUrl redirect.
    Open source →
  12. 3.1.1+12 25 Oct 2022
    Release notes

    Fixed

    • Fixed bug on BaseWebView setState call after widget no longer appears in the widget tree.
    Open source →
  13. 3.1.0+11 18 Aug 2022
    Release notes

    Added

    • Detailed documentation added to OauthWebView parameters.
    • New parameters added: delimiter, basicAuth, httpClient. Each param is described in the OauthWebView class.
    Open source →
  14. 3.0.0+10 12 Aug 2022
    Release notes

    Added

    • Web support added. Despite this is a breaking change update, it really doesn't brake anything, you can still use it with no change required. Nevertheless if you want Web support to be enabled then you have to do an init() call, check README to see details.
    • shared_preferences dependency added to support temporary state storage.
    Open source →
  15. 2.2.0+9 21 Jul 2022
    Release notes

    Added

    • headers can now be set to web view.
    Open source →
  16. 2.1.0+8 22 Jun 2022
    Release notes

    Added

    • baseUrl added to OauthWebView and OauthWebScreen to allow to get back to application when web view gets redirected to baseUrl. A baseUrl redirect will be treated as a onCancel.
    Open source →
  17. 2.0.2+7 26 May 2022
    Release notes

    Changed

    • T? _ambiguate<T>(T? value) => value; implemented for compatibility reasons to avoid warnings about unnecessary null-safety operator for SchedulerBinding.instance? and WidgetsBinding.instance?.
    Open source →
  18. 2.0.1+6 02 May 2022
    Release notes

    Changed

    • WidgetsBinding.instance?.addObserver(this) added null-safety operator for stable channel compatibility.
    Open source →
  19. 2.0.0+4 19 Apr 2022 withdrawn

    Nothing published for this version

  20. 2.0.0+5 20 Apr 2022
    Release notes

    Added

    • BaseWebView to handle basic web view with redirects. (OAuthWebView uses this under the hook).
    • Boolean flags for controlling toolbar buttons visibility.
    • GlobalKeys added to BaseWebScreen and OauthWebScreen to allow webview control from outside.
    • urlStream added to allow to asynchronously indicate web view to navigate to a different url.

    Changed

    • OAuthWebView extends from BaseWebView.
    • OAuthWebView onSuccess function changed to onSuccessAuth.

    Fixed

    • useHybridComposition set to true for Android to avoid bugs with keyboard on recent Android versions > 10.
    • AndroidManifest from example project updated to allow project to run in Android 12.
    • Minor bugs fixed on UI state update.
    Open source →
  21. 1.1.0+3 02 Mar 2022
    Release notes

    Added

    • contentLocale property can be set to indicate the web auth to use that locale for internationalization.
    Open source →
  22. 1.0.0+1 08 Dec 2021
    Release notes
    • First release
    Open source →
  23. 1.0.0+2 08 Dec 2021
    Release notes

    Changed

    • README updated
    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