AzureAD / azure-activedirectory-library-for-js

The code for ADAL.js and ADAL Angular has been moved to the MSAL.js repo. Please open any issues or PRs at the link below.
https://github.com/AzureAD/microsoft-authentication-library-for-js/tree/dev/maintenance/adal-angular
Apache License 2.0
627 stars 374 forks source link

Token renewal operation failed due to timeout - get access token from web api #730

Closed lgadola closed 4 years ago

lgadola commented 6 years ago

I get the error "Token renewal operation failed due to timeout". Managed to successfully connect to MS Graph and Office365 with the same mechanism. (AcquireToken) However, trying to connect to a simple WebApi App published in Azure throws this error. Created a very basic WebApi with AAD Bearer auth for testing angular5-adal-example.zip

This is the Angular5 App for reproduction.

sameerag commented 4 years ago

This should be fixed in msal js latest versions. All current authentication work from microsoft is delivered through msal js library here. adal js is still supported only for security fixes. We would recommend to move to msal js for any advanced feature asks.