Skip to content

Commit 015148f

Browse files
committed
Fix lua syntax
1 parent 57e62eb commit 015148f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -134,9 +134,9 @@ local libjwt = require("resty.libjwt")
134134
libjwt.validate({
135135
jwks_files = {"/etc/nginx/jwks.json"},
136136
validate_claims = {
137-
"iss" = {exact = "myiss"},
138-
"aud" = {one_of = {"audience1", "audience2"}},
139-
"sub" = {pattern = ".*@mycompany%.com"},
137+
iss = {exact = "myiss"},
138+
aud = {one_of = {"audience1", "audience2"}},
139+
sub = {pattern = ".*@mycompany%.com"},
140140
},
141141
})
142142
```

0 commit comments

Comments
 (0)