Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

how can one secure access to ui #492

Closed
dolphinsd opened this issue Apr 20, 2020 · 2 comments
Closed

how can one secure access to ui #492

dolphinsd opened this issue Apr 20, 2020 · 2 comments
Assignees
Labels
question Further information is requested

Comments

@dolphinsd
Copy link

Is there a way to secure access to healthcheck ui?
For example, Hangfire offers an easy way to configure authorization handler.
See http://docs.hangfire.io/en/latest/configuration/using-dashboard.html#configuring-authorization

Does healthchecks have this feature?

@CarlosLanderas
Copy link
Contributor

CarlosLanderas commented Apr 21, 2020

We do not have default Authentication Handler because Asp.Net Core 3 has the new endpoints where you can have individual authentication and authorization with RequireAuthorization.

You have an authorization sample commented in the branding sample:

https://github.com/Xabaril/AspNetCore.Diagnostics.HealthChecks/blob/master/samples/HealthChecks.UI.Branding/Startup.cs#L25-L88

https://github.com/Xabaril/AspNetCore.Diagnostics.HealthChecks/blob/master/samples/HealthChecks.UI.Branding/IServiceCollectionExtensions.cs

Which kind of authentication would you be interested in?

@unaizorrilla unaizorrilla added the question Further information is requested label May 15, 2020
@unaizorrilla
Copy link
Collaborator

Close by no-reply!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

3 participants