Grafana setup
Add grafana app on defguard
First, go to the defguard OpenID tab and click add new app button.
Add the name Grafana
Redirect Url add
https://<grafana domain>/login/generic_oauth
where is the address of your grafana instance.Select the below scopes
OpenID
Profile
Email Then add your app. After successfully adding your app you can see it in the OpenID apps list. When you click on it you will be redirected to the client details page. From this page copy Client ID and Client secret values for later.
Grafana setup
Open your grafana config which is located in
/etc/grafana/grafana.ini
if you're using linux if you're using other operating system see link above.In auth section of your configuration file append the template from below and fill it with corresponding values.
Restart your grafana server using
systemctl restart grafana-server
Then on login, you'll see the
Sign-in defguard button
Last updated