I spun up a simple AspNetCore (3.0 preview) web application based on a built in template with in-app authentication (following basic tutorials).
I can run my app and when I try to go to a secured page I'm required to log in.
I register and can log in as expected. I can find my user in the AspNetUsers table in the database.
I successfully modified ApplicationUser to add CustomTag (string) and ran the EF migration and updates to get this column added to the AspNetUsers table. I populated the column using a SQL UPDATE AspNetUsers... command, so the column now contains "Hello World!".
Now I run my app but I have no useful data about the authenticated user, other than that he is authenticated.
I put a breakpoint in the controller action to view the authenticated ApplicationUser and I see the identity with 13 claims added by IdentityServer4, but I don't know how this relates to my user? The user is authenticated but name is NULL. This user doesn't have my custom property "CustomTag". Am I looking in the wrong place?
Lots of searches lead to in depth articles about how to extend the model (done that) and how to run EF migrations (done that).
Lots of searches lead to in depth articles about how to override IdentityServer4's code and UI, but there's none of that in my templated app, so I'm at a loss as to where I should be looking to modify code.
Can anyone point me to something telling me how to get my ApplicationUser custom properties visible in a controller action handler?
IdentityUser, it should only appear as the baseclass for AppUser.