Skip to content

Latest commit

 

History

History
21 lines (16 loc) · 1.17 KB

README.md

File metadata and controls

21 lines (16 loc) · 1.17 KB

grafana-datasource-oauth-proxy

This project aims to restrict access to grafana datasource for users with "Viewer" role.

Use case: you have a critical datasource (f.e. logs) in same grafana organisation with common datasources (prometheus, graphite, etc..). You would like to allow sharing dashboards to unprivileged or even anonymous users, but prevent critical data leaking

Alternative: Data source permissions available in Grafana Enterprise and Grafana Cloud.

Requirements:

  • Grafana OSS server
  • Google OAuth2 Provider configured
  • Grafana Server Administrator credentials
  • "Forward OAuth Identity" enabled in datasource settings (.jsonData.oauthPassThru == true)

Environment variables: