MSAL library always uses accounts[0]. How to get the account which was selected in account picker?
I am currently using Msal react library for Azure authentication.I am currently in the situation of 2 accounts signed in but my code picks up the first one in accounts array which is accounts[0].