hangfire dashboard on staging machine throws a 401 Unauthorized

sam
sam
134 Points
62 Posts

I'm using hangfire in .netcore api project. Everything  working fine but dashboard not appearing on staging environment. In the local machine it's working fine. 

On staging is showing "HTTP ERROR 401".

Views: 8588
Total Answered: 2
Total Marked As Answer: 0
Posted On: 01-Jun-2018 00:40

Share:   fb twitter linkedin
401 means unauthorised access. You need setup authorization mechanism in your code.
 - beginer  15-Jun-2018 04:54
Answers
Smith
Smith
Participant
374 Points
112 Posts
         

Hi, I also have read the documentation about authorization but didn’t understand how to allow access to everybody or what users and roles are mentioned in docs?

Users = "admin, superuser", // allow only specified users
Roles = "admins" // allow only specified roles

where are they being created and managered?

Posted On: 23-Jun-2018 06:11
Jak
Jak
Member
364 Points
152 Posts
         
Posted On: 23-Jun-2018 06:14
 Log In to Chat