Skip to content

attempt to index local 'jwt' (a userdata value) #88

@dagouwang

Description

@dagouwang

I used the sample you gived and there are some information

`local jwt = require "resty.jwt"

	        local jwt_token = jwt:sign(
	            "lua-resty-jwt",
	            {
	                header={typ="JWT", alg="HS256"},
	                payload={foo="bar"}
	            }
	        )
	        ngx.say(jwt_token)`

2019/08/14 03:24:05 [error] 6#6: *4 lua entry thread aborted: runtime error: content_by_lua(nginx.conf:70):28: attempt to index local 'jwt' (a userdata value)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions