mirror of
https://github.com/hibiken/asynqmon.git
synced 2026-04-26 09:35:49 +03:00
[GH-ISSUE #78] Add some user auth to dashboard #717
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/asynqmon#717
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @koddr on GitHub (Apr 14, 2021).
Original GitHub issue: https://github.com/hibiken/asynqmon/issues/78
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
usernameandpasswordby environment variables at starting Docker container:And catch them by simple
os.Getenvfunction 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!
@hibiken commented on GitHub (Apr 14, 2021):
Yep, sounds good! We should allow options to enable auth (a simple auth to begin like you suggested).
Let me look into this 👍
@tinnkai commented on GitHub (Apr 13, 2022):
I also hope that hibiken can implement this function @hibiken
@tony9527167 commented on GitHub (Apr 17, 2022):
any updates?
@hibiken commented on GitHub (Apr 18, 2022):
@tinnkai @tonytony2020 thanks for the comments!
I'm planning to invest some time in tooling (CLI, Web UI) in the coming weeks. So I'll take a look at this issue then!
@syahidfrd commented on GitHub (Jul 18, 2022):
Hi, i have made asynqmon with simple basic auth, you can check this https://github.com/syahidfrd/asynqmon-handler
@muqiuren commented on GitHub (Jul 31, 2023):
Is it supported now?
@zekiahmetbayar commented on GitHub (Oct 26, 2023):
I have a PR for this! https://github.com/hibiken/asynqmon/pull/313 @hibiken