{"action":"created","issue":{"url":"https://api.github.com/repos/themikenicholson/passport-jwt/issues/5","labels_url":"https://api.github.com/repos/themikenicholson/passport-jwt/issues/5/labels{/name}","comments_url":"https://api.github.com/repos/themikenicholson/passport-jwt/issues/5/comments","events_url":"https://api.github.com/repos/themikenicholson/passport-jwt/issues/5/events","html_url":"https://github.com/themikenicholson/passport-jwt/issues/5","id":59632612,"number":5,"title":"Create example","user":{"login":"FREEZX","id":243900,"avatar_url":"https://avatars.githubusercontent.com/u/243900?v=3","gravatar_id":"","url":"https://api.github.com/users/FREEZX","html_url":"https://github.com/FREEZX","followers_url":"https://api.github.com/users/FREEZX/followers","following_url":"https://api.github.com/users/FREEZX/following{/other_user}","gists_url":"https://api.github.com/users/FREEZX/gists{/gist_id}","starred_url":"https://api.github.com/users/FREEZX/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/FREEZX/subscriptions","organizations_url":"https://api.github.com/users/FREEZX/orgs","repos_url":"https://api.github.com/users/FREEZX/repos","events_url":"https://api.github.com/users/FREEZX/events{/privacy}","received_events_url":"https://api.github.com/users/FREEZX/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-03-03T12:05:37Z","updated_at":"2015-03-10T07:23:44Z","closed_at":null,"body":"An example app is needed to fully demonstrate how this works, and includes JWT generation in the code."},"comment":{"url":"https://api.github.com/repos/themikenicholson/passport-jwt/issues/comments/78006615","html_url":"https://github.com/themikenicholson/passport-jwt/issues/5#issuecomment-78006615","issue_url":"https://api.github.com/repos/themikenicholson/passport-jwt/issues/5","id":78006615,"user":{"login":"FREEZX","id":243900,"avatar_url":"https://avatars.githubusercontent.com/u/243900?v=3","gravatar_id":"","url":"https://api.github.com/users/FREEZX","html_url":"https://github.com/FREEZX","followers_url":"https://api.github.com/users/FREEZX/followers","following_url":"https://api.github.com/users/FREEZX/following{/other_user}","gists_url":"https://api.github.com/users/FREEZX/gists{/gist_id}","starred_url":"https://api.github.com/users/FREEZX/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/FREEZX/subscriptions","organizations_url":"https://api.github.com/users/FREEZX/orgs","repos_url":"https://api.github.com/users/FREEZX/repos","events_url":"https://api.github.com/users/FREEZX/events{/privacy}","received_events_url":"https://api.github.com/users/FREEZX/received_events","type":"User","site_admin":false},"created_at":"2015-03-10T07:23:44Z","updated_at":"2015-03-10T07:23:44Z","body":"I created my own strategy that takes care of authorization in the middleware, so you can rely on using the req.isAuthenticated function in the code. If you're interested, check out my repo:\r\n"}}