Open AlexeyBoiko opened 6 years ago
Finally get it working, but without this library. Here is full example of
Angular routs is working. Also, there are no double requests when renewing token.
I had the same problem but when I reverted adal-angular (adal-angular5 is dependent on adal-angular) from 1.0.16 to 1.0.15 it all worked fine. I have found the bug in 1.0.16 and will report it.
1.0.36 still does not work
What was the bug? @kov-hans
I've hit the same problem - I guess. Any hint on how to resolve this (and maybe sticking with adal-angular5)?
I'm new to front end programming and type script so I'm not sure where the problem is but I found that adal-angular5 is working fine with version 1.0.15 of adal-angular and fails with version 1.0.16. I also found the problem that I described in an issue on adal-angular ( https://github.com/AzureAD/azure-activedirectory-library-for-js/issues/712 ), but they just closed the issue saying that adal-angular5 needs to be updated with the latest version of adal-angular. If adal-angular5 needs to be updated between 1.0.15 and 1.0.16 that seems like a breaking change in a patch release to me, but I might be wrong.
published as beta
npm install adal-angular5@2.1.1
Please help me with Adal5Service.acquireToken method. I my case it is always falls with "Token renewal operation failed due to timeout".
Full online demo source code
Here is app.component.ts:
There are correct acquired token In network:
Error on page