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 2026Releases
latest 23-
6.0.0-beta.103 Jun 2026 pre-release -
5.2.016 Dec 2025Release notes
Open source →Added
- Added support for
usePathUrlStrategy()to clear the path after init.
- Added support for
-
5.1.014 Aug 2024Release notes
Open source →Added
userAgentcan now be set inOAuthConfigurationandBaseConfiguration.useHybridCompositioncan now be set inOAuthConfigurationandBaseConfiguration.
-
5.0.0+115 Jan 2024Release notes
Open source →Changed
flutter_inappwebviewplugin 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
-
4.0.3+121 Sep 2023Release notes
Open source →Changed
- WebView updated with
transparentBackground: trueso no white background before loading the page.
- WebView updated with
-
4.0.2+104 Sep 2023Release notes
Open source →Added
- Adds pub topics to package metadata.
Changed
- Minor changes on
BaseWebViewandOAuthWebViewto allow more flexibility when extending it.
-
4.0.1+117 May 2023Nothing published for this version
-
4.0.1+217 May 2023Release notes
Open source →Changed
- Added support for Dart 3.
- Replaced window singleton with FlutterView.
- Updated
clearCacheandclearAllfunctions with optionalBuildContextto supportFlutterView
Thanks @frederikstonge) for PR #12
-
4.0.1+318 Jul 2023Release notes
Open source →Changed
- Updated http package version to
'>=0.13.0 <2.0.0'for better compatibility.
- Updated http package version to
-
4.0.0+1404 Apr 2023Release notes
Open source →Added
- Added support to
clearCacheandclearCookiesdirectly fromOAuthWebAuth.instance.
Changed
OauthWebScreenrenamed toOAuthWebScreenandOauthWebViewrenamed toOAuthWebView.- Full code refactor to use
BaseConfiguration(...)andOAuthConfiguration(...). See readme for migration. - SDK constraints updated to
sdk: ">=2.19.0 <3.0.0"andflutter: ">=2.0.0".
Fixed
- Fixed bug in redirect url handling that caused
invalid_grantdue to content after#in url.
- Added support to
-
3.1.2+1328 Oct 2022Release notes
Open source →Fixed
- Fixed bug on BaseOAuthFlowMixin onSuccess function that caused wrong flow cancellation on baseUrl redirect.
-
3.1.1+1225 Oct 2022Release notes
Open source →Fixed
- Fixed bug on BaseWebView setState call after widget no longer appears in the widget tree.
-
3.1.0+1118 Aug 2022Release notes
Open source →Added
- Detailed documentation added to OauthWebView parameters.
- New parameters added:
delimiter,basicAuth,httpClient. Each param is described in the OauthWebView class.
-
3.0.0+1012 Aug 2022Release notes
Open source →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_preferencesdependency added to support temporary state storage.
- 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
-
2.2.0+921 Jul 2022 -
2.1.0+822 Jun 2022Release notes
Open source →Added
baseUrladded toOauthWebViewandOauthWebScreento allow to get back to application when web view gets redirected to baseUrl. AbaseUrlredirect will be treated as aonCancel.
-
2.0.2+726 May 2022Release notes
Open source →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?.
-
2.0.1+602 May 2022Release notes
Open source →Changed
- WidgetsBinding.instance?.addObserver(this) added null-safety operator for stable channel compatibility.
-
2.0.0+419 Apr 2022 withdrawnNothing published for this version
-
2.0.0+520 Apr 2022Release notes
Open source →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.urlStreamadded to allow to asynchronously indicate web view to navigate to a different url.
Changed
- OAuthWebView extends from BaseWebView.
- OAuthWebView
onSuccessfunction changed toonSuccessAuth.
Fixed
useHybridCompositionset 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.
-
1.1.0+302 Mar 2022Release notes
Open source →Added
contentLocaleproperty can be set to indicate the web auth to use that locale for internationalization.
-
1.0.0+108 Dec 2021 -
1.0.0+208 Dec 2021