Base solution for your next web application
Open Closed

How to use Hangfire Dashboard with Angular Project #4088


User avatar
0
ajayak created

When I navigate to <a class="postlink" href="http://localhost:5000/hangfire/">http://localhost:5000/hangfire/</a> I get 401 status in network tab. Here is the config:

app.UseHangfireDashboard("/hangfire", new DashboardOptions
            {
                Authorization = new[] { new AbpHangfireAuthorizationFilter(AppPermissions.Pages_Administration_HangfireDashboard) }
            });

1 Answer(s)
  • User Avatar
    0
    ismcagdas created
    Support Team

    Hi,

    As far as I know, Hangfire Dashboard does not support token based auth <a class="postlink" href="http://docs.hangfire.io/en/latest/configuration/using-dashboard.html#configuring-authorization">http://docs.hangfire.io/en/latest/confi ... horization</a>. So, unfortunately, you cannot use it in angular project.