External website authentication against Grafana

Hello,

we would like to display graphs from Grafana in an external website.
For this I use the provided script “scripted.js” to create the graphs.
This works as far as desired.

Now the problem is that we need to authenticate ourselves to Grafana from the web server.
How can we pass username and password over HTTPS to display the graphs into the external website, so that the user does not have to enter user and password.?

Best regards

Duplicate of Embed Grafana dashboard in web application