Skip to content

Releases: AzureAD/microsoft-authentication-library-for-js

Release msal v0.2.2

18 Aug 01:20
Compare
Choose a tag to compare

Added support to handle the issue of the session storage and local storage getting cleared in IE and edge browsers during redirects across different security zones. This can be enabled by setting storeAuthStateInCookie flag in config to true. Default value is false.
#347

Release msal v0.2.1

14 Aug 22:48
17b9a46
Compare
Choose a tag to compare

New Features

  • Added State parameter in login request. #262

  • Removed istanbul code coverage due to webpack bundle size issue.

Release v0.2.0

07 Aug 20:56
ae9c259
Compare
Choose a tag to compare

New Features

  • Changes in MSAL-Core to support MSAL-angular wrappers.

Release v0.1.9

23 Jul 23:42
3c4eccb
Compare
Choose a tag to compare

New Features

  • Fixed bug to use acquireTokenRedirect to call your own APIS. #333
  • Fixed bug to delete temporary cache entries in cases of errors. #327

Release v0.1.7

16 Jun 00:07
d29fa63
Compare
Choose a tag to compare

New Features

  • Fixed bug with resolveAuthority in acquireTokenSilent. #322
  • Fixed bug with window.opener for cases when app is opened due to a click event. #318

Release v0.1.6

22 May 00:43
84278c4
Compare
Choose a tag to compare

New Features

  • Fixed bug with concurrent acquireToken requests. #274
  • Added catchHandler for authority validation
  • Fixed bug to handle the case for id_token with special characters.

Release v0.1.5

01 Mar 01:53
355dc1f
Compare
Choose a tag to compare

Breaking Changes

  • The constructor function in Msal is no longer asynchronous. To use the instance of userAgentApplication in the callback function passed in the constructor, use "this" in the calback function scope. Please see below:
 var userAgentApplication = new Msal.UserAgentApplication(applicationConfig.clientID, null, authCallback);
        function authCallback(errorDesc, token, error, tokenType) {
                   console.log(userAgentApplication) //this will print undefined, use this instead
                   var self  = this// self is instance of userAgentApplication
           }

New Features

  • By default, msal tries to take you back to the loginStartPage after successful authentication. To disable this setting, you can pass navigateToLoginRequestUrl:false
    in the options object in the constructor. In that case, msal will just set the url hash to null and call the provided callback, thereby avoiding an additional reload. Please see snippet below:
 var userAgentApplication = new Msal.UserAgentApplication(applicationConfig.clientID, null, authCallback, { navigateToLoginRequestUrl:false });
  • The idToken object is now added as a property on user object in msal which can be used to query claims and the User class itself is exported under the global namespace.
  • loadFrameTimout(msec) is now configurable by setting it to a value in the options object passed to the userAgentApplication contructor. The default timeout is 6000 msec. Please see the snippet below to change it:
 var userAgentApplication = new Msal.UserAgentApplication(applicationConfig.clientID, null, authCallback, { loadFrameTimout:10000 });

Release 0.1.4-beta

01 Mar 01:50
355dc1f
Compare
Choose a tag to compare
Merge pull request #260 from AzureAD/rn/release

release changes for 0.1.5

Release v0.1.3

28 Oct 00:28
c362d1b
Compare
Choose a tag to compare
  • Added ability to import msal as es-5 or es-6 module.
  • Added webpack to create a umd bundle with a global variable Msal exported to the window object.
  • Fixed bug related to browser refresh.
  • Set user object from cache if available before every acquireToken request.
  • Enable logging by passing a logger in the constructor function.

Release v0.1.2

03 Oct 01:11
Compare
Choose a tag to compare

*Fixed bug with renewal of id_token.
*Added support for multiple asynchronous acquireToken requests.
*Added "user_cancelled" event for popup window.