Azure-Samples/active-directory-b2c-dotnetcore-webapp

No accounts being returned on cca.GetAccountsAsync()

bmorgan91 opened this issue · 0 comments

I've plugged in my own config values and an ID token and Access token is successfully being returned. However the GetAccountsAsync line in the HomeController returns no accounts. I've tried a few different code samples and have been unable to get this line to return any accounts. Is there some other set up work that needs doing to get the users to cache properly?

I also changed the AzureAdB2CInstance in the AzureAdB2COptions file to:

AzureAdB2CInstance = "https://XXX.b2clogin.com/tfp";

As well as trying the original onmicrosoft.com option and have had no luck.