Hi!
Trying to use the open-source self-hosted dashboard, and I'm not sure if I'm missing a config step. After signing up and logging in, the dashboard shows "Access Restricted / Contact Sales" instead of the API Inventory. Wanted to ask whether the dashboard is meant to be fully usable on local_deploy, and if so, what I'm missing.
Setup
- Images: aktosecurity/akto-api-security-dashboard:2.8.5_local,
aktosecurity/akto-api-testing:2.8.5_local,
mongo:6.0.28
- DASHBOARD_MODE=local_deploy (IS_SAAS unset), Docker Compose, single host
What happens
- Admin signs up at /signup, logs in fine, routes to /dashboard/... → then "Access Restricted".
What I found while poking around (could easily be misreading it)
- The SPA gate in
main/index.js grants access when window.PLAN_TYPE ∈ {enterprise, professional, trial}.
- On a fresh local_deploy login,
window.PLAN_TYPE === "" while `window.DASHBOARD_MODE === "LOCAL_DEPLOY", and the gate doesn't seem to look at DASHBOARD_MODE.
PLAN_TYPE looks like it resolves via the billing service (ProfileAction → OrganizationUtils.fetchFromBillingService), which a self-hosted box doesn't have — so it comes back empty.
Questions
- Is the dashboard intended to work on open-source local_deploy?
- If so, is there a supported env/config to set the plan (so the gate passes), or anything I've skipped in the self-hosted setup?
- If not expected, happy to file a proper issue with full repro.
Thanks for any pointers! 🙏
Hi!
Trying to use the open-source self-hosted dashboard, and I'm not sure if I'm missing a config step. After signing up and logging in, the dashboard shows "Access Restricted / Contact Sales" instead of the API Inventory. Wanted to ask whether the dashboard is meant to be fully usable on local_deploy, and if so, what I'm missing.
Setup
aktosecurity/akto-api-testing:2.8.5_local,
mongo:6.0.28
What happens
What I found while poking around (could easily be misreading it)
main/index.jsgrants access whenwindow.PLAN_TYPE ∈ {enterprise, professional, trial}.window.PLAN_TYPE === ""while `window.DASHBOARD_MODE === "LOCAL_DEPLOY", and the gate doesn't seem to look at DASHBOARD_MODE.PLAN_TYPElooks like it resolves via the billing service (ProfileAction→OrganizationUtils.fetchFromBillingService), which a self-hosted box doesn't have — so it comes back empty.Questions
Thanks for any pointers! 🙏