Integration Auto-Login to grafana with my website onclick of a button

  • What Grafana version and what operating system are you using?

OS - Rocky Linux

  • What are you trying to achieve?
    To autologin to my grafana from my website on click of a button without showing login page

  • How are you trying to achieve it?
    i tried with Oauth2.0 but couldn’t configure thank you and also tried sending the post request to login page via curl to enter into the grafana resource.

  • What happened?
    Couldn’t make it up. either getting an error like CONTENT POLICY SECURITY ERROR on posting the username and password to grafana login page

  • What did you expect to happen?
    I dont want to see login page and directly login to the dasboard

  • Can you copy/paste the configuration(s) that you are having problems with?
    I am still searching for a better solution not getting what need to be done.

  • Did you receive any errors in the Grafana UI or in related logs? If so, please tell us exactly what they were.
    No Except CSP i haven’t got any error.

  • Did you follow any online instructions? If so, what is the URL?