T
Twenty4w ago
nogeo

dashboards iFrame

just found the iframe in the Dashboards. looks promising! when i try to embed Grafana URL, i get a "refused to connect" error. I guess i'd need to authorize it first, but how to do that?
8 Replies
Prastoin
Prastoin4w ago
Isn't the error coming from your grafana instance ? Rendered as not being authenticated ?
nogeo
nogeoOP4w ago
I believe so. I don't want to expose Grafana instance. Instead, can I auth it from Twenty?
Prastoin
Prastoin4w ago
Depends on your instance, you could create an API key and pass it in the iframe url Though it raises security concerns
nogeo
nogeoOP4w ago
true. how was the iFrame widget in the dashboard intended to work? I can only embed if url is exposed in the first place?
Prastoin
Prastoin4w ago
It's a basic iframe
nogeo
nogeoOP4w ago
so url must be exposed in order to be iframed?
Prastoin
Prastoin4w ago
Depends where is host of the iframe is being rendered I mean it has to be an accessible url from your current network So if it's public internet yes, but it can be authenticated you will need to provided an auth token through query params for example
nogeo
nogeoOP4w ago
thanks @prastoin , let us see how to implement it

Did you find this page helpful?