Skip to content

Commit d2b08a7

Browse files
committed
try to explain accept_unsupported_alg better
1 parent c3a17d3 commit d2b08a7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -118,8 +118,8 @@ http {
118118
--accept_unsupported_alg = true
119119
-- if you want to reject tokens signed using an algorithm
120120
-- not supported by lua-resty-jwt set this to false. If
121-
-- you leave it unset, the token signature will not be
122-
-- verified at all.
121+
-- you leave it unset or set it to true, the token signature will not be
122+
-- verified when an unsupported algorithm is used.
123123
124124
--renew_access_token_on_expiry = true
125125
-- whether this plugin shall try to silently renew the access token once it is expired if a refresh token is available.

0 commit comments

Comments
 (0)