Skip to content

Commit

Permalink
Rename from allowed-groups to allowed-group-names (#216)
Browse files Browse the repository at this point in the history
  • Loading branch information
backwind1233 authored Mar 9, 2022
1 parent 84542d3 commit 420a3aa
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ spring:
redirect-uri-template: http://localhost:8080/
# groups that you created in your Azure AD tenant
user-group:
allowed-groups: group1,group2
allowed-group-names: group1,group2
# Optional, the default value is
# environment: global
```
Expand All @@ -121,7 +121,7 @@ client-id: xxxxxx-your-client-secret-xxxxxx
3. List all the AAD groups `ActiveDirectoryGroups` that you want to have a Spring Security role object mapping to it. The role objects can then be used to manage access to resources that is behind Spring Security. e.g.
```properties
# groups that you created in your Azure AD tenant
allowed-groups: group1,group2
allowed-group-names: group1,group2
```

4. (Optional) If you want to configure oauth2 redirect uri, please configure by :
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,6 @@ spring:
profile:
tenant-id: ${AZURE_TENANT_ID}
user-group:
allowed-groups: group1,group2
allowed-group-names: group1,group2
redirect-uri-template: http://localhost:8080/

0 comments on commit 420a3aa

Please sign in to comment.