Login api for grafana user

I have a web application , but i don’t want to use gragana login page to login. I want to login to grafana in my web application by simply calling its restfull api…

Hi,

I’m not really sure what you want to accomplish.

Do you want to only access the Grafana API from your web app? In that case see Authentication API documentation.

If you want to authenticate to Grafana using your web application and have your own oauth service you can configure Grafana to use that, see documentation.

Please let me know if this helps

Marcus

Blank dashboards appear when using api to create dashboards using mysql query …

Hi,

Please provide more information. Do you get any errors, if so what does they say? Does the dashboard work if you create from within Grafana? If not, there’s probably your problem.

Marcus

is there any api to get embed url of grafana

Hi,

You can embed panels from dashboards externally, but you have to do it manually from Grafana UI not API. See Share Panel documentation. One other option would be to embed Grafana in an iframe.

Have a look at these posts for further information:



Marcus