Skip to content

Commit a5f48b5

Browse files
authored
docs: custom Role Claim Support in guard-azure-ad (aklivity#322)
1 parent 696be16 commit a5f48b5

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

src/concepts/security/guard/azure-ad/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,7 @@ The `azure-ad` specific options.
6565
| options.version | `enum` [ `v1.0`, `v2.0` ] | Default: `v2.0` |
6666
| options.challenge | `integer` | Challenge period (seconds). |
6767
| options.identity | `string` | Default: `sub` |
68+
| options.roles | `string` | Default: `roles` |
6869

6970
:::
7071

src/reference/config/guards/azure-ad.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,3 +86,9 @@ Challenge period (seconds).
8686
> `string` | Default: `sub`
8787

8888
Claim to extract the user's identity from the token.
89+
90+
#### options.roles
91+
92+
> `string` | Default: `roles`
93+
94+
Claim to check for authorized roles.

0 commit comments

Comments
 (0)