Vineesh Chacko

Vineesh Chacko

  • NA
  • 33
  • 541

MSADAL Angular Azure jwt token unable to renew.. !

Feb 12 2020 11:19 AM
Hi
 
I have added AAD authentication (MsAdalAngular6Service) to my single-page web app(Angular 7).
 
Client: Angular 7 ASP.NET Core 3.0 client portal 
Web Api - ASP.NET CORE 2.2 API
 
The initial login works fine, but after an hour, the token expires, and I am unable to renew it with acquireToken. I've tried calling acquireToken when I am still logged in with my clientID and it works fine, but after the token expires, I can't renew it. It fails with "Token renewal operation failed due to timeout".
 
 Any help much appreciated. 
 
Regards