so, BlazorServer app on Core 6
Using AD as single signon via IIS to app, gets the context.identity.user.name correct with domain/sAMAccountName set as the string.
But it's only valid within the [AuthorizeView][Authorized]
I also have a lot of roles defined, with corresponding AD connections, in a local Identity system which I can query via OData or SQL
how do I keep track of the user in the @code field? do I [Authorize] there to or? I don't see any examples of that
or do I need to create local identities from those contexts?
I would like to use the roles that are defined, with members, from my Identity system to authorize the authenticated users to my various places in the blazor pages and code.
but frankly, I don't understand how I would make that happen with this setup?