Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

User.Identity.Name is null #13

Open
latala43 opened this issue Feb 9, 2022 · 0 comments
Open

User.Identity.Name is null #13

latala43 opened this issue Feb 9, 2022 · 0 comments

Comments

@latala43
Copy link

latala43 commented Feb 9, 2022

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant