I am using @azure/msal-angular to authenticate user. I have done it smoothly as in response i am getting id_Token, access_Token and tenant Id. Now i need to get logged in user’s azure subscriptions. Is there any way to do it using msal or azure is providing any java script libraries through which i can get user’s subscriptions ? Answer Do
Tag: msal.js
How to execute code before a Promise is resolved
When using the msal library one can authenticate using the redirect flow. This means the user is navigated to the Microsoft sign in page and after successful authentication he is navigated back to the SPA. The following code handles this: The msal method handleRedirectPromise returns a Promise which we use to set the logged on account once it’s resolved. However,