Issue: Superset Dashboard Not Showing in DHIS2 Integration
Hi community,
I’m trying to embed a Superset dashboard in DHIS2, but the dashboard is not showing up. Here are the troubleshooting steps I’ve tried:
-
Double-checked permission settings in Superset.
-
Made sure guest token authentication is working (checked the gateway logs).
-
Looked for CORS or network errors in the browser console and server logs.
-
Restarted both DHIS2 and Superset after making all changes.
Has anyone faced similar issues or can suggest what else I should check? Any help would be appreciated!
- Superset Side
-
In
superset_config.py
set:-
FEATURE_FLAGS = {'EMBEDDED_SUPERSET': True}
-
ENABLE_DASHBOARD_EMBED = True
-
Ensure
ENABLE_CORS = True
for your DHIS2 domain.
-
-
Users need embed-related permissions.
-
After updating config, restart Superset and refresh assets.
-
Use the “Embed dashboard” menu to get the Embed ID.
- DHIS2 Side
-
Used the Superset embed app to add a dashboard.
-
Pasted the Embed ID but not working.
-
Also Checked that the DHIS2 Superset Gateway service is running and the connection URLs are correct.