Dashboard Authorization ends up in infinite loop

dashboard
Tags: #<Tag:0x00007f499ab0e128>

#1

We have configured hangfire dashboard in asp.net MVC application using cookie based authentication. As hangfire Authorization will work only when application redirected to dashboard url path so we are redirecting using Response.redirect("/dashboard") then it is hitting Authorize function. After authentication successful we are redirecting back to dashboard using redirect uri, as it reaches to dashboard url so it is calling Authorize function again. It running in a loop. Can anyone please help me out of it.