{"action":"created","issue":{"url":"https://api.github.com/repos/maxx-t/nginx-jwt-module/issues/5","repository_url":"https://api.github.com/repos/maxx-t/nginx-jwt-module","labels_url":"https://api.github.com/repos/maxx-t/nginx-jwt-module/issues/5/labels{/name}","comments_url":"https://api.github.com/repos/maxx-t/nginx-jwt-module/issues/5/comments","events_url":"https://api.github.com/repos/maxx-t/nginx-jwt-module/issues/5/events","html_url":"https://github.com/maxx-t/nginx-jwt-module/issues/5","id":359545846,"node_id":"MDU6SXNzdWUzNTk1NDU4NDY=","number":5,"title":"Cookie description in documentation","user":{"login":"r-chris","id":18341652,"node_id":"MDQ6VXNlcjE4MzQxNjUy","avatar_url":"https://avatars2.githubusercontent.com/u/18341652?v=4","gravatar_id":"","url":"https://api.github.com/users/r-chris","html_url":"https://github.com/r-chris","followers_url":"https://api.github.com/users/r-chris/followers","following_url":"https://api.github.com/users/r-chris/following{/other_user}","gists_url":"https://api.github.com/users/r-chris/gists{/gist_id}","starred_url":"https://api.github.com/users/r-chris/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/r-chris/subscriptions","organizations_url":"https://api.github.com/users/r-chris/orgs","repos_url":"https://api.github.com/users/r-chris/repos","events_url":"https://api.github.com/users/r-chris/events{/privacy}","received_events_url":"https://api.github.com/users/r-chris/received_events","type":"User","site_admin":false},"labels":[{"id":966135928,"node_id":"MDU6TGFiZWw5NjYxMzU5Mjg=","url":"https://api.github.com/repos/maxx-t/nginx-jwt-module/labels/question","name":"question","color":"d876e3","default":true}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-09-12T15:53:06Z","updated_at":"2018-09-12T20:03:19Z","closed_at":null,"author_association":"NONE","body":"I have been trying to use the cookie variant for authentication, but keep getting a JWT parse error. Using the default header option works as expected.\r\n\r\nI couldn’t find a good reference how that cookie should look like and tried prefixing the JWT with `Bearer e...` and also tried without, but neither worked. Could you please enlighten me if I need to encode the cookie value somehow?\r\n\r\nThank you!"},"comment":{"url":"https://api.github.com/repos/maxx-t/nginx-jwt-module/issues/comments/420778768","html_url":"https://github.com/maxx-t/nginx-jwt-module/issues/5#issuecomment-420778768","issue_url":"https://api.github.com/repos/maxx-t/nginx-jwt-module/issues/5","id":420778768,"node_id":"MDEyOklzc3VlQ29tbWVudDQyMDc3ODc2OA==","user":{"login":"maxx-t","id":9805205,"node_id":"MDQ6VXNlcjk4MDUyMDU=","avatar_url":"https://avatars3.githubusercontent.com/u/9805205?v=4","gravatar_id":"","url":"https://api.github.com/users/maxx-t","html_url":"https://github.com/maxx-t","followers_url":"https://api.github.com/users/maxx-t/followers","following_url":"https://api.github.com/users/maxx-t/following{/other_user}","gists_url":"https://api.github.com/users/maxx-t/gists{/gist_id}","starred_url":"https://api.github.com/users/maxx-t/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/maxx-t/subscriptions","organizations_url":"https://api.github.com/users/maxx-t/orgs","repos_url":"https://api.github.com/users/maxx-t/repos","events_url":"https://api.github.com/users/maxx-t/events{/privacy}","received_events_url":"https://api.github.com/users/maxx-t/received_events","type":"User","site_admin":false},"created_at":"2018-09-12T20:03:19Z","updated_at":"2018-09-12T20:03:19Z","author_association":"OWNER","body":"I would look at the underscore.\r\ntry to debug it with something like:\r\n```\r\n location = /api {\r\n        return 200 \"cookie is $cookie_lt_jwt\";\r\n    }\r\n```"}}
{"actor":{"display_login":"maxx-t"}}