You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When test this code , in openresty it aborted a error follow local jwt_token = jwt:sign( "lua-resty-jwt1", { header={typ="JWE", alg="dir" , enc = 'A128CBC-HS256'}, payload={foo="bar"} } ) ngx.print("jwt_token:")
`
2019/10/30 23:59:07 [error] 2369#0: *246 lua entry thread aborted: runtime error: unknown reason
stack traceback:
coroutine 0:
[C]: in function 'error'
/usr/share/lua/5.1/resty/jwt.lua:202: in function 'derive_keys'
/usr/share/lua/5.1/resty/jwt.lua:407: in function 'sign'
`
The text was updated successfully, but these errors were encountered:
When test this code , in openresty it aborted a error follow
local jwt_token = jwt:sign( "lua-resty-jwt1", { header={typ="JWE", alg="dir" , enc = 'A128CBC-HS256'}, payload={foo="bar"} } ) ngx.print("jwt_token:")
`
2019/10/30 23:59:07 [error] 2369#0: *246 lua entry thread aborted: runtime error: unknown reason
stack traceback:
coroutine 0:
[C]: in function 'error'
/usr/share/lua/5.1/resty/jwt.lua:202: in function 'derive_keys'
/usr/share/lua/5.1/resty/jwt.lua:407: in function 'sign'
`
The text was updated successfully, but these errors were encountered: