You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- [ ] bug report -> please search issues before submitting
- [ ] feature request
- [X ] documentation issue or request
- [ ] regression (a behavior that used to work and stopped in a new release)
Minimal steps to reproduce
Clone Repo
Follow steps
Any log messages given by the failure
Using the sample, the GetAccountIdentifier method does not check the correct claims and no accounts are retrieved when using that identifier
privatestringGetAccountIdentifier(AuthenticationStateauthState){if(authState.User.Identities.First().Claims.Where(c =>c.Type=="uid").Count()==0||authState.User.Identities.First().Claims.Where(c =>c.Type=="utid").Count()==0){returnnull;}//return "<user object id>.<tenant id>" which is account identifier;returnauthState.User.Identities.First().Claims.Where(c =>c.Type=="uid").First().Value+"."+authState.User.Identities.First().Claims.Where(c =>c.Type=="utid").First().Value;}
Expected/desired behavior
GetAccountAsync() to return account
OS and Version?
Windows 11
Thanks! We'll be in touch soon.
The text was updated successfully, but these errors were encountered:
This issue is for a: (mark with an
x
)Minimal steps to reproduce
Any log messages given by the failure
Using the sample, the
GetAccountIdentifier
method does not check the correct claims and no accounts are retrieved when using that identifierExpected/desired behavior
GetAccountAsync() to return account
OS and Version?
Windows 11
The text was updated successfully, but these errors were encountered: