msal_js
A Dart wrapper for the 'Microsoft Authentication Library for JavaScript (MSAL.js)'.
2.14.0
7.1K downloads/mo
#3401 most downloaded on pub.dev
Francessco121/msal-js-dart
What this package is like to depend on
Last release 5 years ago
no release in 18 months
Ships fairly regularly
a new release about every 4 months
Nearly every release is documented
notes for 12 of 12 stable releases
Nothing withdrawn
no release was ever pulled
8 years old
13 releases · first in 2018
0 releases in the last 12 months
see the full history below
Release timeline
13 releases · Nov 2018 to Jun 2021Releases
latest 13-
2.14.021 Jun 2021Release notes
Open source →- (breaking change) Support for MSAL.js 2.14.
- MSAL 2.x has a slightly different API than MSAL 1.x, some notable changes include:
UserAgentApplicationwas renamed toPublicClientApplication.handleRedirectFuturereplaceshandleRedirectCallback.- Request/response classes have new names.
- MSAL 2.x has a slightly different API than MSAL 1.x, some notable changes include:
- (breaking change) Removed deprecated
MissingMsalJsExceptionclass. - Fixed issue where setting the base
Loggerlog level would set the wrong level. - Fixed issue where getting the log level from
LoggerOptionswould return the wrong level.
Release notes
Open source →- (breaking change) Support for MSAL.js 2.14.
- MSAL 2.x has a slightly different API than MSAL 1.x, some notable changes include:
UserAgentApplicationwas renamed toPublicClientApplication.handleRedirectFuturereplaceshandleRedirectCallback.- Request/response classes have new names.
- MSAL 2.x has a slightly different API than MSAL 1.x, some notable changes include:
- (breaking change) Removed deprecated
MissingMsalJsExceptionclass. - Fixed issue where setting the base
Loggerlog level would set the wrong level. - Fixed issue where getting the log level from
LoggerOptionswould return the wrong level.
- (breaking change) Support for MSAL.js 2.14.
-
1.4.0-nullsafety.020 Mar 2021 pre-releaseRelease notes
Open source →- Migrated to null safety. (#21, thanks nyarian!)
- Note: Many properties and returns are now nullable that seem like they shouldn't be. This is because msal.js is written in a way that makes it impossible to guarantee null safety.
- Updated minimum SDK version to
2.12.0-259.9.beta. - Added
LogLevel.unknownto represent msal.js log levels that don't have an enum value counterpart.
Release notes
Open source →- Migrated to null safety. (#21, thanks nyarian!)
- Note: Many properties and returns are now nullable that seem like they shouldn't be. This is because msal.js is written in a way that makes it impossible to guarantee null safety.
- Updated minimum SDK version to
2.12.0-259.9.beta. - Added
LogLevel.unknownto represent msal.js log levels that don't have an enum value counterpart.
- Migrated to null safety. (#21, thanks nyarian!)
-
1.3.026 Aug 2020Release notes
Open source →- Added
UserAgentApplication.ssoSilent. - Added
UserAgentApplication.setLogger. - Added
AuthRequest.redirectStartPage. - Added
AuthRequest.onRedirectNavigate. - Added
AuthRequest.authorityMetadata. - Added
AuthOptions.authorityMetadata. - Added
AuthOptions.knownAuthorities. - Fixed exception thrown when creating a
Loggerwithout any options.
Release notes
Open source →- Added
UserAgentApplication.ssoSilent. - Added
UserAgentApplication.setLogger. - Added
AuthRequest.redirectStartPage. - Added
AuthRequest.onRedirectNavigate. - Added
AuthRequest.authorityMetadata. - Added
AuthOptions.authorityMetadata. - Added
AuthOptions.knownAuthorities. - Fixed exception thrown when creating a
Loggerwithout any options.
- Added
-
1.2.306 Jul 2020Release notes
Open source →- Fix
InteractionRequiredAuthErrors andServerErrors not being converted correctly to their exception counterparts.
Release notes
Open source →- Fix
InteractionRequiredAuthErrors andServerErrors not being converted correctly to their exception counterparts.
- Fix
-
1.2.205 Jul 2020Release notes
Open source →- Replace
dart:jsusage withpackage:js. This gets around adart2jsissue when compiling a Flutter app for the web and also "modernizes" the codebase a little. - Deprecated
MissingMsalJsException. This is no longer thrown even if msal.js is missing. - Added Flutter Web app example.
Release notes
Open source →- Replace
dart:jsusage withpackage:js. This gets around adart2jsissue when compiling a Flutter app for the web and also "modernizes" the codebase a little. - Deprecated
MissingMsalJsException. This is no longer thrown even if msal.js is missing. - Added Flutter Web app example.
- Replace
-
1.2.112 Dec 2019Release notes
Open source →- Fix
acquireTokenPopup,acquireTokenSilent, andloginPopupfailing to correctly convert JS promise errors to exceptions.
Release notes
Open source →- Fix
acquireTokenPopup,acquireTokenSilent, andloginPopupfailing to correctly convert JS promise errors to exceptions.
- Fix
-
1.2.011 Dec 2019 -
1.1.017 Nov 2019Release notes
Open source →- Support for msal.js v1.1.x
- Added
Account.idTokenClaims - Added
AuthRequest.forceRefresh
Release notes
Open source →- Support for msal.js v1.1.x
- Added
Account.idTokenClaims - Added
AuthRequest.forceRefresh
-
1.0.117 Nov 2019Release notes
Open source →- Fixed
AuthRequest.extraQueryParametersnot working. - Removed dependency on
package:js. - Deprecated
FrameworkOptions. The 'framework' configuration forUserAgentApplicationis an unfortunate coupling betweenmsal-coreandmsal-angular(js). Since this package only wrapsmsal-core, setting these options does nothing and should not have been included in the API to begin with. It will be removed in a future release.
Release notes
Open source →- Fixed
AuthRequest.extraQueryParametersnot working. - Removed dependency on
package:js. - Deprecated
FrameworkOptions. The 'framework' configuration forUserAgentApplicationis an unfortunate coupling betweenmsal-coreandmsal-angular(js). Since this package only wrapsmsal-core, setting these options does nothing and should not have been included in the API to begin with. It will be removed in a future release.
- Fixed
-
1.0.029 Oct 2019Release notes
Open source →See https://github.com/AzureAD/microsoft-authentication-library-for-js/wiki/MSAL.js-1.0.0-api-release for conceptual breaking changes in 1.0.
- Support for msal.js v1.0.x.
- Changed minimum Dart SDK version from 1.23.0 to 2.0.0.
- Replaced
UserwithAccount. - Replaced
MsalExceptionwithAuthExceptionand its inheritors. UserAgentApplicationchanges:- Login/acquire methods now take in and return
AuthRequestandAuthResponserespectively. - Constructor now takes in a single
Configurationobject. - Replaced
TokenReceivedCallbackwithAuthResponseCallback. - Replaced
getUserwithgetAccount. - Replaced
getAllUserswithgetAllAccounts. - Replaced
loginInProgresswithgetLoginInProgress. - Added
handleRedirectCallback. - Added
getCurrentConfiguration. - Added
getPostLogoutRedirectUri. - Added
getRedirectUri. - Removed
cacheLocation. - Removed
loadFrameTimeout. - Removed
clientId. - Removed
validateAuthority.
- Login/acquire methods now take in and return
- Added missing getters to
LoggerOptions. - Fixed error when providing
nullfor options when creating aLogger.
Release notes
Open source →See https://github.com/AzureAD/microsoft-authentication-library-for-js/wiki/MSAL.js-1.0.0-api-release for conceptual breaking changes in 1.0.
- Support for msal.js v1.0.x.
- Changed minimum Dart SDK version from 1.23.0 to 2.0.0.
- Replaced
UserwithAccount. - Replaced
MsalExceptionwithAuthExceptionand its inheritors. UserAgentApplicationchanges:- Login/acquire methods now take in and return
AuthRequestandAuthResponserespectively. - Constructor now takes in a single
Configurationobject. - Replaced
TokenReceivedCallbackwithAuthResponseCallback. - Replaced
getUserwithgetAccount. - Replaced
getAllUserswithgetAllAccounts. - Replaced
loginInProgresswithgetLoginInProgress. - Added
handleRedirectCallback. - Added
getCurrentConfiguration. - Added
getPostLogoutRedirectUri. - Added
getRedirectUri. - Removed
cacheLocation. - Removed
loadFrameTimeout. - Removed
clientId. - Removed
validateAuthority.
- Login/acquire methods now take in and return
- Added missing getters to
LoggerOptions. - Fixed error when providing
nullfor options when creating aLogger.
-
0.3.225 Mar 2019Release notes
Open source →- Support for msal.js v0.2.4.
UserAgentApplicationOptionschanges:redirectUrimay now be either aStringorRedirectUriCallback.postLogoutRedirectUrimay now be either aStringorRedirectUriCallback.
UserAgentApplicationchanges:- The constructor parameter
tokenReceivedCallbackmay now benull.
- The constructor parameter
-
0.3.128 Nov 2018Release notes
Open source →- Fix crash which occurred when using the logger callback in code compiled with dart2js.
-
0.3.024 Nov 2018Release notes
Open source →- Rewrote entire library using
package:js. - The constructor for
UserAgentApplicationnow semantically matches the JavaScript version. - The constructor for
Loggernow semantically matches the JavaScript version. - No longer contains a build of msal.js. A valid version of msal.js must be installed separately.
Versions listed below are not available on pub as they were made before this package was published.
- Rewrote entire library using