cdbattags / lua-resty-jwt

JWT For The Great Openresty
Apache License 2.0
146 stars 44 forks source link

jwt should be handled with base64url encoding #45

Open spacewander opened 3 years ago

spacewander commented 3 years ago

According to the jwt doc, the encoding should be base64url, not base64 which is used in this library.

cdbattags commented 3 years ago

Feel free to add a test case where the encoding is breaking. PRs welcome!

alexandrim0 commented 2 years ago

https://github.com/cdbattags/lua-resty-jwt/pull/54