abpframework / abp

Open-source web application framework for ASP.NET Core! Offers an opinionated architecture to build enterprise software solutions with best practices on top of the .NET. Provides the fundamental infrastructure, cross-cutting-concern implementations, startup templates, application modules, UI themes, tooling and documentation.
https://abp.io
GNU Lesser General Public License v3.0
12.56k stars 3.37k forks source link

Hangfire Dashboard Authorization isn't working #19953

Open giathanhit opened 1 month ago

giathanhit commented 1 month ago

Is there an existing issue for this?

Description

docs: https://docs.abp.io/en/abp/latest/Background-Jobs-Hangfire

I want to require logging in to access the Hangfire Dashboard, but when I add the code, I can't access the Dashboard page even though I've logged in with auth, swagger, blazor.

I'm using the Module Template

image image

Reproduction Steps

No response

Expected behavior

No response

Actual behavior

No response

Regression?

No response

Known Workarounds

No response

Version

8.1.3

User Interface

Blazor

Database Provider

EF Core (Default)

Tiered or separate authentication server

None (Default)

Operation System

Windows (Default)

Other information

No response

maliming commented 1 month ago

See https://github.com/abpframework/abp/issues/19632#issuecomment-2081795455