Skip to content

Commit

Permalink
Merge pull request #1922 from bruno-ds/patch-1
Browse files Browse the repository at this point in the history
[Azure] Mention the mandatory parameter `scope`.
  • Loading branch information
stloyd authored Aug 26, 2023
2 parents 3a50983 + 758aac7 commit a13f6e4
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions Resources/doc/resource_owners/azure.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,12 @@ Just follow the steps as described here: https://docs.microsoft.com/en-us/azure/
More details on the Azure and OAuth can be found here https://docs.microsoft.com/en-us/azure/active-directory/develop/active-directory-v2-protocols

Next configure a resource owner of type `azure` with appropriate `client_id`,
`client_secret`. You can also specify which `application` it
should target (`common` by default)
`client_secret` and `scope`. You can also specify which `application` it
should target (`common` by default).

NB: `scope` can have the special value `".default"`, as per the documentation:
https://learn.microsoft.com/en-us/azure/active-directory/develop/v2-permissions-and-consent#the-default-scope. But you should set a more precise value.


```yaml
# app/config.yml
Expand All @@ -18,6 +22,7 @@ hwi_oauth:
type: azure
client_id: <client_id>
client_secret: <client_secret>
scope: <scope>

options:
application: common
Expand Down

0 comments on commit a13f6e4

Please sign in to comment.