hibiken / asynqmon

Web UI for Asynq task queue
MIT License
605 stars 132 forks source link

add an example middleware to implement basic auth into asynqmon handler #285

Open sangianpatrick opened 1 year ago

sangianpatrick commented 1 year ago

Hi @hibiken, I just find out that there is no RBAC in asynqmon web. So I just try to give some example to prevent unauthenticated user to access by implementing basic auth

To use basic auth, It needs some changes in the UI, so put the attribute crossorigin=use-credentials so the manifest.json files can be loaded (in Chrome)

Screen Shot 2022-12-29 at 02 15 11

Looking forward for the review Thanks 😊

Danny5487401 commented 9 months ago

any update ?