Is it possible to embed the lightdash portal using...
# general
m
Is it possible to embed the lightdash portal using an iframe (with sso oidc)? i.e. site.com/projects/--*project-guid--*/home
1
p
👋 Thanks for your message - someone from the Lightdash support team will get back to you asap. Feel free to add any additional context to the thread here in the meantime (screenshots, app version if you're self-hosting etc.).
Hi there, Yes, it’s possible to embed the Lightdash, please refer to our embedding documentation. Let us know if you have additional questions!
m
Hi, this is not the type of embedding I was referencing. I am talking about embedding the entire lightdash portal, not a dashboard. i.e. iframe of the project home page embedded into our app so users have a seamless experience.
p
Hi there, Thank you for clarifying! Currently, embedding the entire Lightdash portal within an iframe using SSO OIDC isn't officially supported. While we do have experimental flags for this, such as
LIGHTDASH_IFRAME_EMBEDDING_DOMAINS
, they are not fully supported or recommended for production use.
m
Evaluating this limitation and potential workarounds is our main roadblock for deciding to use Lightdash. Could I potentially get more detail on this? If our lightdash instance and site the iframe is going into are using the same domain, could this make this more feasible? Is this experimental flag part of a planned feature?
p
Hi @Mike Marcuccio, Here’s a pull request linked to the original issue that outlines the current state of the feature and provides instructions to run it. Let me know if this helps: https://github.com/lightdash/lightdash/pull/13836
Hi @Mike Marcuccio, Here’s a pull request linked to the original issue that outlines the current state of the feature and provides instructions to run it. Let me know if this helps: https://github.com/lightdash/lightdash/pull/13836
1