aad_oauth_ce 1.2.0 copy "aad_oauth_ce: ^1.2.0" to clipboard
aad_oauth_ce: ^1.2.0 copied to clipboard

A Flutter OAuth package for performing user authentication against Azure Active Directory OAuth2 v2.0 endpoint.

Changelog #

1.2.0 - 2025-12-09 #

  • Fix iOS Crash: Upgraded webview_flutter to ^4.13.0 which resolves the native assertion failure on iOS (Race Condition in FWFWebViewHostApi).
  • Dependency Updates:
    • flutter_secure_storage: ^9.2.4
    • http: ^1.6.0
    • shared_preferences: ^2.5.4
    • equatable: ^2.0.7

1.1.0 - 2025-09-17 - Community Edition #

Since the original aad_oauth package is no longer maintained, this fork aad_oauth_ce (Community Edition) has been created to continue its development and maintenance. This version includes several improvements and new features, particularly around refresh token handling and package migration.

Refresh Token Improvements #

  • Refresh Token Access - Plugin now exposes refresh tokens that were previously hidden
  • Proper Error Handling - Failed refreshes now return actual failures instead of "successful" null tokens
  • Consistent API - All implementations (mobile, mock) follow the same interface
  • Better Debugging - Clear distinction between success and failure cases

Files Modified #

  • aad_oauth.dart - Added public getRefreshToken() method
  • core_oauth.dart - Added abstract method definition
  • mobile_oauth.dart - Added implementation + fixed refresh logic
  • mock_oauth.dart - Added mock implementation

Package Migration #

  • Package Renamed - Migrated from aad_oauth to aad_oauth_ce for better maintenance
  • Backward Compatibility - Simple migration path requiring only import statement updates
  • Updated Documentation - Added comprehensive migration guide

1.0.1 20230215 - This is the last version of the original package #

1.0.0 20231010 #

0.4.4 20230516 #

0.4.3 20230327 #

0.4.2 20230124 #

0.4.1 20221124 #

0.4.0 20220523 #

0.3.1 20200808 #

0.3.0 20200725 #

0.2.2 20200702 #

0.2.1 20210119 #

0.2.0 20201007 #

0.1.9 20200529 #

0.1.8 20200203 #

  • Fix requested bug on auth cancel
  • Modified to take into account Api permission in Azure AD rather than de default one

0.1.7 20190430 #

0.1.6 20190419 #

  • Fix Token Refresh URL

0.1.5 20190413 #

0.1.4 20190325 #

  • Change from memory cache to secure storage

0.1.3 20190212 #

  • Fix iOS issue by encoding the URL
  • Change dependency of example to local library

0.1.2 20181229 #

  • Added example README

0.1.1 20181229 #

  • Added an example

0.1.0 20181229 #

  • Adjusted library interface
  • Bug fixing

0.0.1 20181228 #

  • Initial release
1
likes
60
points
697
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

A Flutter OAuth package for performing user authentication against Azure Active Directory OAuth2 v2.0 endpoint.

Repository (GitHub)
View/report issues

License

MIT (license)

Dependencies

dartz, equatable, flutter, flutter_secure_storage, http, js, shared_preferences, webview_flutter

More

Packages that depend on aad_oauth_ce