adal-ts icon indicating copy to clipboard operation
adal-ts copied to clipboard

Token should refresh automatically in background

Open HNeukermans opened this issue 8 years ago • 4 comments

currently the token is not automatically refreshed. This is work in progress

HNeukermans avatar Nov 17 '16 22:11 HNeukermans

Hi, are you still working on it? I have a need to integrate Angular 2 application with the Azure active directory and looks like that your library suits all my needs except this one.

DarkXaHTeP avatar Dec 08 '16 12:12 DarkXaHTeP

Hi @DarkXaHTeP. Indeed. I know this is a very usefull feature. At the same time it is also the hardest to implement.

I need to do some research on this issue on how to implement. This repo has something similar Angular2AzureADAuthLib

Could that help you further?

At the same time I'm also counting on other contributors to get this implemented. Interested?

HNeukermans avatar Dec 12 '16 19:12 HNeukermans

@HNeukermans thanks for the proposal to contribute, I'm not sure that I will find free time, but will keep it in mind. The development in the repo that you pointed stopped on the RC4 version of Angular, that's why I didn't consider it as an option. Used ng2-adal that references adal from Angular 1 implementation as a temporary solution

DarkXaHTeP avatar Dec 12 '16 23:12 DarkXaHTeP

I guess for now one can manually [periodically] trigger login() with extraQueryParameter including '&prompt=none' and with proper redirectUri.

DimaGershman avatar Feb 15 '18 14:02 DimaGershman