-
-
Notifications
You must be signed in to change notification settings - Fork 161
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
Add some user auth to dashboard #78
Comments
Yep, sounds good! We should allow options to enable auth (a simple auth to begin like you suggested). Let me look into this 👍 |
I also hope that hibiken can implement this function @hibiken |
any updates? |
@tinnkai @tonytony2020 thanks for the comments! |
Hi, i have made asynqmon with simple basic auth, you can check this https://github.com/syahidfrd/asynqmon-handler
|
Is it supported now? |
Hi,
I think is a good practice to cover Asynqmon dashboard with some auth procedure to login. A common case is when such tools are put side by side in a Docker container and need to be accessed remotely over the network.
For example, we can set this
username
andpassword
by environment variables at starting Docker container:And catch them by simple
os.Getenv
function in backend.Yes, it's very-very simple solution, but works and solves all needs on the topic.
Login form can looks like this (without links, only login+pass+button, of course):
https://material-ui.com/getting-started/templates/sign-in/
What do you think about this, @hibiken? 😉
P.S. also, we can make a little hard thing: separation of users into roles (e.g. a super-admin and a guest, like RabbitMQ does). But that's a start for the future!
The text was updated successfully, but these errors were encountered: