damodhar-admin commented on issue #36377: URL: https://github.com/apache/superset/issues/36377#issuecomment-3605141255
@dosu Thanks for the explanation. I followed the recommended approach using the Embedded SDK + guest tokens, but the SDK embedding is still not working for me. Could you please share the exact steps or a working example? Here is what I already tried: Created a custom read-only role starting from Gamma and removed all editing permissions (can_explore, export, edit, SQL, etc.). Set GUEST_ROLE_NAME = "guest_readonly" and added a valid GUEST_TOKEN_JWT_SECRET in superset_config.py, then restarted Superset. Enabled Embedded Superset and added my domain in Allowed Domains. Generated a guest token from my backend (JWT with HS256). Used supersetEmbeddedSdk.embedDashboard() with: id: <dashboard_id> supersetDomain pointing to my Superset instance fetchGuestToken is returning my token dashboardUiConfig.hideChartControls = true Even after doing this, the dashboard is not loading properly with SDK. Can you please share: A minimal working example Required permissions list for the read-only role Any additional configuration needed on the Superset side Common mistakes that can prevent SDK embedding from working Thanks in advance. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
