mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
@@ -22,7 +22,7 @@ type IDClaims struct {
|
||||
jwt.Claims
|
||||
}
|
||||
|
||||
const settingsKey = "forwardIdToken"
|
||||
const settingsKey = "forwardGrafanaIdToken"
|
||||
|
||||
func IsIDForwardingEnabledForDataSource(ds *datasources.DataSource) bool {
|
||||
return ds.JsonData != nil && ds.JsonData.Get(settingsKey).MustBool()
|
||||
|
||||
Reference in New Issue
Block a user