Open agustinsilvano opened 3 weeks ago
hi
Your app only uses JwtBearer
as authentication method. Please refer to qa links below:
https://support.abp.io/QA/Questions/5167/Hangfire-Authorization-Problem https://support.abp.io/QA/Questions/3199/Hangfire-Dashboard-Authorization-is-not-working
Is there an existing issue for this?
Description
I was not able to configure the
AbpHangfireAuthorizationFilter
on theUseAbpHangfireDashboard
method. I read the documentation about the Dashboard setup, I followed all the steps described there but I'm still getting 401 when trying to access to the '/hangfire' path.Reproduction Steps
{api_url}/hangfire
Question: Is that the expected flow to get access to the dashboard?
Expected behavior
By following the steps described above, the dashboard should be available for the current logged user.
Actual behavior
Is redirecting to a 401 Unauthorized page.
Regression?
No response
Known Workarounds
No response
Version
8.1.1
User Interface
Common (Default)
Database Provider
EF Core (Default)
Tiered or separate authentication server
Separate Auth Server
Operation System
macOS
Other information
I've been inspecting the
AbpHangfireAuthorizationFilter
(and also created a custom Authorization filter) and the information of the user's information is not available in theHttpContext