AzureAD: Add option to force fetch the groups from the Graph API (#56916)

* Add a new option to systematically fetch AzureAD groups from the Graph API
This commit is contained in:
Gabriel MABILLE
2022-10-14 12:55:00 +02:00
committed by GitHub
parent e4f2006cce
commit 0f4d126109
5 changed files with 101 additions and 39 deletions
@@ -225,3 +225,11 @@ Grafana attempts to retrieve the user's group membership by calling the included
> Note: The token must include the `GroupMember.Read.All` permission for group overage claim calls to succeed.
> Admin consent may be required for this permission.
### Force fetching groups from Microsoft graph API
To force fetching groups from Microsoft Graph API instead of the `id_token`. You can use the `force_use_graph_api` config option.
```
force_use_graph_api = true
```