SteveSandersonMS/CarChecker

User.Identity.Name is null

Opened this issue · 0 comments

Thank you for this very helpful project. I try to implement that same logic you showed us to do offline authentication and everything working fine. User IsAuthenticated = true, is find, and ClaimsPrincipal all claims and also has a name claim.

Unfortunately, User.Identity.Name is always null and it does not have a setter. Is it ok?

Actually, I can get the name from the claims, but my question is how to set the User.Identy.Name after load the claims from IndexedDb?