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
Isn't the error coming from your grafana instance ?
Rendered as not being authenticated ?
I believe so. I don't want to expose Grafana instance. Instead, can I auth it from Twenty?
Depends on your instance, you could create an API key and pass it in the iframe url
Though it raises security concerns
true. how was the iFrame widget in the dashboard intended to work? I can only embed if url is exposed in the first place?
It's a basic iframe
so url must be exposed in order to be iframed?
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
thanks @prastoin , let us see how to implement it