is there a way to use ASP.net Core’s UserManager to authorize the Dashboard access?
I tried injecting the user manager but it is disposed of by the time it is run inside the authorizing method.
I tried the following but the user is empty:
public class CustomAuthorizationFilter : IDashboardAuthorizationFilter
{
private readonly string _policyName;