aad_b2c_webview
A simple Flutter package which embeds webview for accessing Azure AD B2C user flow endpoint.
What this package is like to depend on
Last release 1 years ago
06 Aug 2025
Release timing varies
gaps range from 2 weeks to 7 months
Most releases are documented
notes for 19 of 25 stable releases
Nothing withdrawn
no release was ever pulled
4 years old
25 releases · first in 2023
0 releases in the last 12 months
see the full history below
Release timeline
25 releases · Jan 2023 to Aug 2025Releases
latest 25-
0.1.306 Aug 2025 -
0.1.215 Jul 2025 -
0.1.118 Apr 2025Release notes
Open source →- Updated README
- Added new function to control start page
- Added new function to control keep loading
- Fix loading stack
- Apply dart format
-
0.1.017 Mar 2025Release notes
Open source →- Bugs fixed
- Added Webview Interaction
- Added Flutter UI Customization
- Added Dynamic Flutter Layout
- Added new Code Structure
- Updated Login Button
- Updated README.md
- Updated CHANGELOG.md
- Updated pubspec.yaml
-
0.0.5721 Aug 2024Release notes
Open source →UI/UX improvements on token retrieval page by exposing the loadingReplacement widget for AADLoginButton.
-
0.0.5627 Feb 2024Release notes
Open source →This changes the dependency from Dio to Dart's http packages for requests and adds user-agent field for sign-in purposes.
-
0.0.5516 Feb 2024Release notes
Open source →This adds a new functionality, for onRedirect and onErrorOrCancel and adds a context argument.
-
0.0.5414 Nov 2023Release notes
Open source →Fixes
- Added functionality for Cancel link on the Signup page when the onRedirect function is not called. A new function onErrorOrCancel is called when the redirect URL is hit with no tokens provided.
- Dependencies updated
Thanks to Craig Waite (@craig-waite) for his contribution.
Release notes
Open source →This adds a new functionality, onErrorOrCancel which is called when the redirect URL is hit with no tokens provided.
-
0.0.5307 Nov 2023Release notes
Open source →0.0.53 AAD_B2C_Webview Updates Latest
Major Fixes
Upgraded dependencies to latest versions
Provided example for the package
Changes Made Added the ability to include optional parameters in the AADLoginButton widget to customize the URL. The optionalParameters parameter now accepts a list of OptionalParam objects, where each object represents a parameter name and its corresponding value.Updated the README.md file to include detailed instructions on how to utilize the optionalParameters parameter. An example was provided to demonstrate the addition of new parameters to the URL.
Created a new class, OptionalParam, to encapsulate the key-value pairs for the optional parameters.
Improved the concatUserFlow method to incorporate the optional parameters in the URL generation process.
Updated the UI implementation to utilize the Visibility widget. This change allows for the removal of unnecessary Stack widgets, resulting in a cleaner and more efficient UI structure.
These changes enhance the flexibility and customization options of the AADLoginButton widget, while also improving code organization, readability, and user experience.
Minor Fixes
- Updated Readme with correct configurations for setup.
- Bug fixes for IOS.
- Bug fixes and performance improvements.
- Upgraded webview_flutter to latest version
- Added access token retrieval via widget.scopes and provided scopes
- Added official repository to pubspec.yaml
-
0.0.5225 Oct 2023 -
0.0.5125 Sep 2023 -
0.0.5030 Aug 2023 -
0.0.4908 Jul 2023 -
0.0.4807 Jul 2023 -
0.0.4704 Jul 2023Release notes
Open source →Changes Made
Upgraded dependencies to latest versions
Provided example for the package
-
0.0.4605 Jun 2023Release notes
Open source →Changes Made Added the ability to include optional parameters in the AADLoginButton widget to customize the URL. The optionalParameters parameter now accepts a list of OptionalParam objects, where each object represents a parameter name and its corresponding value.
Updated the README.md file to include detailed instructions on how to utilize the optionalParameters parameter. An example was provided to demonstrate the addition of new parameters to the URL.
Created a new class, OptionalParam, to encapsulate the key-value pairs for the optional parameters.
Improved the concatUserFlow method to incorporate the optional parameters in the URL generation process.
Updated the UI implementation to utilize the Visibility widget. This change allows for the removal of unnecessary Stack widgets, resulting in a cleaner and more efficient UI structure.
These changes enhance the flexibility and customization options of the AADLoginButton widget, while also improving code organization, readability, and user experience.
Thanks to Baxi19 for his contributions to this release.
-
0.0.4526 Apr 2023Release notes
Open source →[0.0.45] - 2023-04-26
Add New Model Class To Map Responses from Azure: AzureTokenResponse
What's Changed
-
Added a new model class that tracks down in a better way a token, instead of plan text and Obj called: Token, wich really comes handy when handling refresh tokens due to users need to know not only the token but also its expiration date.
-
Fixed refresh tokens not being retrieved on AADLoginButton and ADB2CEmbedWebView onRefreshToken callback
-
Added a new callback method called: onAnyTokenRetrieved, this method could be used instead of all the others
-
ClientAuthentication class is fixed now and both methods found on it: getAllTokens and refreshTokens work now was expected.
New Contributors
@jchirinosodio made their first contribution in #5
Release notes
Open source →Added new model class that map responses from Azure: AzureTokenResponse
Added a new model class that tracks down in a better way a token, instead of plan text and Obj called: Token, wich really comes handy when handling refresh tokens due to users need to know not only the token but also its expiration date.
Fixed refresh tokens not being retrieved on AADLoginButton and AADB2CEmbedWebView onRefreshToken callback
Added a new callback method called: onAnyTokenRetrieved, this method could be used instead of all the others
ClientAuthentication class is fixed now and both methods found on it: getAllTokens and refreshTokens work now was expected.
-
-
0.0.4415 Mar 2023Release notes
Open source →We're super excited to announce
0.0.44ofaad_b2c_webview!This major release fully focuses on adding robust functionality to the integration of Azure AD & embedded web views.
This is the second big release by two of our
standardco-maintainers Mohana Bhattacharya & Chimdike Nnacheta. Buy them a cake if you run into them, thanks for getting this release out!Major changes
- Created a login/sign up button, that can be easily integrated and customized for the mobile application
- Added ValueChanged callback to the login button, that returns the user's id token
Changed features
- Updated login button implementation and fixes to ReadMe file
- Created a login button to login into Azure AD B2C. This can be used in any flutter app to login into Azure AD B2C
- Removed unwanted dependencies
- Added ValueChanged to give users more control of accessTokens and redirect process
- Other small fixes
-
0.0.4328 Feb 2023Nothing published for this version
-
0.0.4206 Feb 2023Release notes
Open source →- Updated package to use PKCE flow for authentication
- Updated flutter secure storage's usage and secure access for token
- Updated redirect methods to use PKCE flow
- Updated README.md
- Updated CHANGELOG.md
- Updated pubspec.yaml
-
0.0.4106 Feb 2023Nothing published for this version
-
0.0.406 Feb 2023Nothing published for this version
-
0.0.306 Feb 2023Nothing published for this version
-
0.0.206 Feb 2023Nothing published for this version
-
0.0.111 Jan 2023Nothing published for this version