I know that hangfire set it dashboard to local only for security purpose. Then if I want to open it in custom domain, I have to set authorization for it. I have followed the Configuring Authorization guide but I don’t understand what do I have to write inside app.UseCookieAuthentication(…) . I have tried
app.UseCookieAuthentication(new CookieAuthenticationOptions()
{
AuthenticationScheme = "YourCookieInstanceName",
AutomaticAuthenticate = true
});
But it’s said my namespace can’t be found for CookieAuthenticationOptions