Skip to content

Releases: microsoft/aad_b2c_webview

0.0.54 AAD_B2C_Webview Updates

14 Nov 08:00
Compare
Choose a tag to compare

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 for his contribution.

0.0.53 AAD_B2C_Webview Updates

08 Nov 09:56
Compare
Choose a tag to compare

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.45 AAD_B2C_Webview Updates

27 Apr 06:29
Compare
Choose a tag to compare

[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