Grafana
#
What is GrafanaFrom https://en.wikipedia.org/wiki/Grafana
note
Grafana is a multi-platform open source analytics and interactive visualization web application. It provides charts, graphs, and alerts for the web when connected to supported data sources, Grafana Enterprise version with additional capabilities is also available. It is expandable through a plug-in system.
#
PreparationThe following placeholders will be used:
grafana.company
is the FQDN of the Grafana install.authentik.company
is the FQDN of the authentik install.
Create an application in authentik. Create an OAuth2/OpenID provider with the following parameters:
- Client Type:
Confidential
- JWT Algorithm:
RS256
- Scopes: OpenID, Email and Profile
- RSA Key: Select any available key
- Redirect URIs:
https://grafana.company/login/generic_oauth
Note the Client ID and Client Secret values. Create an application, using the provider you've created above. Note the slug of the application you've created.
#
GrafanaIf your Grafana is running in docker, set the following environment variables:
If you are using a config-file instead, you have to set these options: