mirror of
https://github.com/hibiken/asynqmon.git
synced 2026-04-26 01:25:47 +03:00
[PR #285] add an example middleware to implement basic auth into asynqmon handler #1017
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/asynqmon#1017
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?
📋 Pull Request Information
Original PR: https://github.com/hibiken/asynqmon/pull/285
Author: @sangianpatrick
Created: 12/28/2022
Status: 🔄 Open
Base:
master← Head:master📝 Commits (5)
8f637aafix: add attribute crossorigin=use-credentials then browser like Chrome can pass the basic auth when requesting the manifest files7411753Merge branch 'fix/ui'd4d6f24test: add example to run the asynqmon handler with basic auth5c400f3Merge branch 'example/basic-auth-middleware'32e440bchore: add example to implement basic auth middleware into asynqmon handler📊 Changes
3 files changed (+89 additions, -1 deletions)
View changed files
📝
README.md(+55 -0)📝
example_test.go(+33 -0)📝
ui/public/index.html(+1 -1)📄 Description
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)
Looking forward for the review
Thanks 😊
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.