docs: the panel authenticates to the portal with ADMIN_TOKEN, not WEBHOOK_TOKEN (audit L5 — the webhook URL token cannot unlock /admin/*)
This commit is contained in:
1 parent
69c730efba
commit
071355191e
1 file changed
+3
-1
+3
-1
@@ -6,7 +6,9 @@ Security model:
|
||||
- Access is further restricted to a small ADMIN_USERNAMES allowlist (checked
|
||||
against the injected username), so only designated admins see this panel.
|
||||
- This app calls the member portal's /admin/overview and /admin/set-balance
|
||||
endpoints, authenticated with the portal's WEBHOOK_TOKEN (ADMIN_TOKEN).
|
||||
endpoints, authenticated with the portal's dedicated ADMIN_TOKEN (the
|
||||
X-Admin-Token header — NOT the webhook's URL token, which cannot unlock
|
||||
/admin/*).
|
||||
|
||||
Environment (Cloudron env vars):
|
||||
PORTAL_BASE — base URL of the member portal
|
||||
|
||||
Reference in new issue
Block a user