Skip to content
This repository has been archived by the owner on Mar 10, 2024. It is now read-only.

Will not get user details for user already logged in #3

Closed
conficient opened this issue May 6, 2019 · 3 comments
Closed

Will not get user details for user already logged in #3

conficient opened this issue May 6, 2019 · 3 comments

Comments

@conficient
Copy link

An issue with this library (good as it is!) is that the Username is only populated if the user logs in or registers using the API. The username isn't re-populated if the user is already logged in on returning.

However his royal Blazorness Steve Sanderson says that ClaimsPrincipal will be made available in a later version (see dotnet/aspnetcore#4048)

@stavroskasidis
Copy link
Owner

Well, this is just a sample, but you are right. That is a bug for the client side. Could be easily fixed with an API call to get the user name

@conficient
Copy link
Author

Good point, I'll queue an API call if IsLoggedOn returns true..

@stavroskasidis
Copy link
Owner

I pushed an update to the sample that case

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

No branches or pull requests

2 participants