Skip to content

Commit 29e7330

Browse files
committed
docs: update auth_jwt_allow_nested directive
1 parent 4046931 commit 29e7330

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

README.md

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -439,7 +439,7 @@ All possibilities of this directive are the same as for
439439
```
440440
Syntax: auth_jwt_allow_nested [delimiter=string] [quote=string];
441441
Default: -
442-
Context: http
442+
Context: http, server, location
443443
```
444444
Allow access to nested claim/headers in jwt token.
445445
@@ -452,10 +452,8 @@ The optional `quote` parameter sets the quote character for the key
452452
> Examples:
453453
> ```
454454
> auth_jwt_allow_nested;
455-
> server {
456-
> auth_jwt_require_claim grants.access eq allow;
457-
> auth_jwt_require_claim '"grants.key"' eq dot;
458-
> }
455+
> auth_jwt_require_claim grants.access eq allow;
456+
> auth_jwt_require_claim '"grants.key"' eq dot;
459457
> ```
460458
>
461459
> JWT payload:

0 commit comments

Comments
 (0)