OAuth: Add support for new user identity flags for grafana-azure-sdk-go (#98703)

* added changes for rebase

* ran go mod tidy and ran a build

* ran a build

* Update docs/sources/setup-grafana/configure-grafana/_index.md

Co-authored-by: Jack Baldry <jack.baldry@grafana.com>

* Update docs/sources/setup-grafana/configure-grafana/_index.md

Co-authored-by: Jack Baldry <jack.baldry@grafana.com>

* Update docs/sources/setup-grafana/configure-grafana/_index.md

Co-authored-by: Jack Baldry <jack.baldry@grafana.com>

* updated go.work.sum to upstream

* added newline to match upstream

* added more specificity in documentation

---------

Co-authored-by: Jack Baldry <jack.baldry@grafana.com>
This commit is contained in:
John Naizer
2025-01-24 12:48:27 +00:00
committed by GitHub
co-authored by Jack Baldry
parent 33d82c43df
commit eb2d276a42
7 changed files with 117 additions and 6 deletions
@@ -1361,7 +1361,13 @@ Override token URL for Azure Active Directory.
By default is the same as token URL configured for AAD authentication settings.
#### `user_identity_client_id`
### `user_identity_client_authentication`
Override client authentication method for Azure Active Directory. Currently supported values are `client_secret_post` and `managed_identity`.
By default is the same as client authentication method configured for AAD authentication settings.
### `user_identity_client_id`
Override ADD application ID which would be used to exchange users token to an access token for the data source.
@@ -1373,7 +1379,19 @@ Override the AAD application client secret.
By default is the same as used in AAD authentication or can be set to another application (for OBO flow).
#### `forward_settings_to_plugins`
### `user_identity_managed_identity_client_id`
Override the AAD application managed identity client ID of the federated credential configured as a user-assigned managed identity.
By default is the same as used in AAD authentication or can be set to another managed identity (for OBO flow).
### `user_identity_federated_credential_audience`
Override the AAD federated credential audience of the federated credential configured as a user-assigned managed identity.
By default is the same as used in AAD authentication or can be set to another audience (for OBO flow).
### `forward_settings_to_plugins`
Set plugins to receive Azure settings via plugin context.