Skip to content
This repository has been archived by the owner on Jun 26, 2021. It is now read-only.

Commit

Permalink
Merge branch 'dev' into rn/sid
Browse files Browse the repository at this point in the history
  • Loading branch information
rohitnarula7176 authored Feb 27, 2018
2 parents b396c0a + beee84c commit f1c1120
Show file tree
Hide file tree
Showing 10 changed files with 550 additions and 297 deletions.
277 changes: 163 additions & 114 deletions README.md

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions bower.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "adal-angular",
"version": "1.0.15",
"version": "1.0.16",
"homepage": "https://github.com/AzureAD/azure-activedirectory-library-for-js",
"authors": [
"MSOpentech"
Expand Down Expand Up @@ -38,7 +38,7 @@
},
"devDependencies": {
"angular-resource": "~1.2.26",
"angular-mocks": "~1.2.26",
"angular-mocks": "^1.3.0",
"jasmine": "2.0.0",
"angular-route": "~1.2.26",
"angular-ui-router": "^0.3.1"
Expand Down
17 changes: 17 additions & 0 deletions changelog.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,20 @@
Version 1.0.16
=========================
* Added ability to login in multiple tabs simultaneously when using localStorage where data is shared across tabs. Please see this: https://github.com/AzureAD/azure-activedirectory-library-for-js/issues/639.
* Added ablity to pass prompt parameter specifically to login method of adal which was not possible in previous versions. You can set extraQueryParameter:'prompt=select_account' in the adal config and this
value will only get appended to login url. Please see this: https://github.com/AzureAD/azure-activedirectory-library-for-js/issues/636.
* Added support for ui-router versions > 1.0 in which all state change events were deprecated and replaced with transition events. Please see this : https://github.com/AzureAD/azure-activedirectory-library-for-js/issues/574.
* Added ability to make loadFrameTimeout property of adal configurable. This is the time adal waits to receive a response for the token renewal request in case of acquireToken.
The default value is 6 seconds but there were several instances where increasing the timeout to 10 seconds helped reduce network latency errors.
* Added error condition to cover the case when user opens the popup window for login and then closes it without entering their credentials. The same error is thrown when popup window handle is destroyed during cross zone
navigation in IE/Edge. The error message ('Popup Window closed by UI action/ Popup Window handle destroyed due to cross zone navigation in IE/Edge') is broadcasted as an event in case adal-angular is used and it is
passed to the callback function in the config in case plain adalJs is used.
* In the case where user already has an existing session with AAD and just wants to acquire a token for a resource for the same user using Adal, he can set extraQueryParameter:'login_hint=xxx' in the adal config and
directly call acquireToken without calling login first. In this scenario, adal will send the request with responseType = 'id_token token' in a hidden iframe to receive both an id_token to estabilish user context
as well as an access_token for the specified resource.
This feature allows silent login as opposed to showing a UI in the case where the user has an existing session with AAD.
* Other bug fixes and updates

Version 1.0.15
=========================
* Added acquireTokenRedirect and acquireTokenPopup api's to acquire a token for resource interactively (MFA) and support conditional access.
Expand Down
4 changes: 2 additions & 2 deletions dist/adal-angular.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 3 additions & 2 deletions dist/adal.min.js

Large diffs are not rendered by default.

Loading

0 comments on commit f1c1120

Please sign in to comment.