FindByNameAsync does take care of retrieving the correct user. I should have known this because this is what I have in my production version. However, the real problem is the sequence of methods that called when admin is used as opposed to a real username. Here is where I have breakpoints:
When admin is used the sequence is:
1.MainLayoutComponent: OnInitializedAsync
2.MainLayoutComponent: Authenticated
3.GendersComponent: OnInitializedAsync
4.MainLayoutComponent: Authenticated
When a real username from the database is used the sequence is:
1.MainLayoutComponent: OnInitializedAsync
2.GendersComponent: OnInitializedAsync
3.MainLayoutComponent: Authenticated
4.MainLayoutComponent: Authenticated
I need to have the real usernames use the same calling sequence as the admin username.
Thanks,
Dave