Search code examples
authenticationsession-variablesgrafana

Accessing from my login page to grafana page


I have a question about accessing to Grafana. I built the login form webpage using passport-local express in Node.js. And is there any ways to access Grafana page from my login webpage using session?

Does anybody have an idea? I can't find any in google.

Thank you!


Solution

  • Im not 100% sure I understand your question.

    But you can use your app like a reverse proxy and send an auth-header to Grafana. http://docs.grafana.org/installation/configuration/#auth-proxy

    This way Grafana will create an user for you and all logins will go thru your application.