Dashboard Authorization ends up in infinite loop

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.