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: 8384
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
360 Points
110 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
352 Points
151 Posts
     
Posted On: 23-Jun-2018 06:14
banner

Blog

Active User (0)

No Active User!
 Log In to Chat