diff --git a/README.md b/README.md index a0ffc96..b0a027d 100644 --- a/README.md +++ b/README.md @@ -155,7 +155,7 @@ server { local jwt = require("nginx-jwt") jwt.auth({ aud="^foo:", - role=function (val) return jwt.table_contains(val, "marketing") end + roles=function (val) return jwt.table_contains(val, "marketing") end }) ';