sureshchahal / angular2-adal

Angular 2 wrapper for adal.js
MIT License
41 stars 50 forks source link

Infinite loop when the initial access token expires. #29

Open zaalion opened 7 years ago

harry671003 commented 7 years ago

+1

Similar issue when the token expires. The following error is logged in console.

Refused to display 'https://login.microsoftonline.com/microsoft.onmicrosoft.com/oauth2/ ... ' in a frame because it set 'X-Frame-Options' to 'DENY'.

aciccarello commented 7 years ago

@zaalion The official ADALforJS library has an FAQ section on this issue.

@harry671003 The iFrame which renews tokens shouldn't be going to the login screen (it should renew the token before it expires). Not sure what the root cause is though.