manishrasrani / ms-adal-angular6

This is a wrapper library for Angular 6+ (Angular 6.X.X and Angular 7.X.X) modules over Microsoft ADAL (Azure Active Directory Authentication Library)
https://www.npmjs.com/package/microsoft-adal-angular6
MIT License
34 stars 13 forks source link

Getting same token for two different resources #16

Open jrmcdona opened 5 years ago

jrmcdona commented 5 years ago

Hello, I am pass in two different resources and both are outputting the exact same token. Therefore one of the throws 401 of course becasue the API rejects it. When I try with adal-angular4 library it works fine.

Anybody faced this?

ankitsalu commented 5 years ago

Hello, I am pass in two different resources and both are outputting the exact same token. Therefore one of the throws 401 of course becasue the API rejects it. When I try with adal-angular4 library it works fine.

Anybody faced this?

I am also facing the same issue. Until this issue is resolved by the owner, you can use Adal 4 latest version as the Adal4 doesn't have any dependency issue, and compatible with Angular 6/7 unlike Angular5 adal.