mirror of
https://github.com/grafana/grafana.git
synced 2025-01-19 21:13:35 -06:00
AzureMonitor: Add authproxy as supported user auth method (#91754)
Add authproxy as supported user auth method
This commit is contained in:
parent
06509712ec
commit
d52626be3f
@ -64,7 +64,9 @@ const QueryEditor = ({
|
|||||||
options: datasource.getVariables().map((v) => ({ label: v, value: v })),
|
options: datasource.getVariables().map((v) => ({ label: v, value: v })),
|
||||||
};
|
};
|
||||||
|
|
||||||
const isAzureAuthenticated = config.bootData.user.authenticatedBy === 'oauth_azuread';
|
// Allow authproxy as it may not be clear if an authproxy user is authenticated by Azure
|
||||||
|
const isAzureAuthenticated =
|
||||||
|
config.bootData.user.authenticatedBy === 'oauth_azuread' || config.bootData.user.authenticatedBy === 'authproxy';
|
||||||
if (datasource.currentUserAuth) {
|
if (datasource.currentUserAuth) {
|
||||||
if (
|
if (
|
||||||
app === CoreApp.UnifiedAlerting &&
|
app === CoreApp.UnifiedAlerting &&
|
||||||
|
Loading…
Reference in New Issue
Block a user