sureshchahal / angular2-adal

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

Renewing token breaking the application until page is refreshed #89

Open saransh944 opened 6 years ago

saransh944 commented 6 years ago

I am facing an issue where my application is breaking whenever Token is renewed, i.e., after an hour or so. Basically what happens is, the app is able to get the new token from Adal, but Angular change detection doesn't work as expected and sometimes the layout gets messed up, etc. Everything works fine again if the application is refreshed. I am doing something as a 'cleanup' process, i.e., removing the Adal iFrame that gets created for token renewal. But I am still seeing this issue.