{"action":"created","issue":{"url":"https://api.github.com/repos/dwyl/hapi-auth-jwt2/issues/222","repository_url":"https://api.github.com/repos/dwyl/hapi-auth-jwt2","labels_url":"https://api.github.com/repos/dwyl/hapi-auth-jwt2/issues/222/labels{/name}","comments_url":"https://api.github.com/repos/dwyl/hapi-auth-jwt2/issues/222/comments","events_url":"https://api.github.com/repos/dwyl/hapi-auth-jwt2/issues/222/events","html_url":"https://github.com/dwyl/hapi-auth-jwt2/issues/222","id":206209697,"number":222,"title":"Homepage example stops working with recent packages","user":{"login":"carlok","id":81123,"avatar_url":"https://avatars0.githubusercontent.com/u/81123?v=3","gravatar_id":"","url":"https://api.github.com/users/carlok","html_url":"https://github.com/carlok","followers_url":"https://api.github.com/users/carlok/followers","following_url":"https://api.github.com/users/carlok/following{/other_user}","gists_url":"https://api.github.com/users/carlok/gists{/gist_id}","starred_url":"https://api.github.com/users/carlok/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/carlok/subscriptions","organizations_url":"https://api.github.com/users/carlok/orgs","repos_url":"https://api.github.com/users/carlok/repos","events_url":"https://api.github.com/users/carlok/events{/privacy}","received_events_url":"https://api.github.com/users/carlok/received_events","type":"User","site_admin":false},"labels":[{"id":180419327,"url":"https://api.github.com/repos/dwyl/hapi-auth-jwt2/labels/help%20wanted","name":"help wanted","color":"159818","default":true}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2017-02-08T14:15:40Z","updated_at":"2017-03-18T13:09:05Z","closed_at":null,"body":"Hello, here you can find you \"homepage\" example, with just a basic \"export\" of the routes.\r\nUsing these packages\r\n\r\n`\"hapi\": \"13.5.0\", \"hapi-auth-jwt2\": \"7.0.1\"`\r\n\r\nit works, while using these packages\r\n\r\n`\"hapi\": \"16.1.0\", \"hapi-auth-jwt2\": \"7.2.4\"`\r\n\r\nit does not work (Error: Unknown authentication strategy jwt in...)\r\n\r\nThe code is at [this gist](https://gist.github.com/carlok/33e5a22705b641507d3b5182852375cd).\r\n\r\nAs you can see, it is basically your example.\r\nHow to refactor it?\r\nThanks."},"comment":{"url":"https://api.github.com/repos/dwyl/hapi-auth-jwt2/issues/comments/287545383","html_url":"https://github.com/dwyl/hapi-auth-jwt2/issues/222#issuecomment-287545383","issue_url":"https://api.github.com/repos/dwyl/hapi-auth-jwt2/issues/222","id":287545383,"user":{"login":"carlok","id":81123,"avatar_url":"https://avatars0.githubusercontent.com/u/81123?v=3","gravatar_id":"","url":"https://api.github.com/users/carlok","html_url":"https://github.com/carlok","followers_url":"https://api.github.com/users/carlok/followers","following_url":"https://api.github.com/users/carlok/following{/other_user}","gists_url":"https://api.github.com/users/carlok/gists{/gist_id}","starred_url":"https://api.github.com/users/carlok/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/carlok/subscriptions","organizations_url":"https://api.github.com/users/carlok/orgs","repos_url":"https://api.github.com/users/carlok/repos","events_url":"https://api.github.com/users/carlok/events{/privacy}","received_events_url":"https://api.github.com/users/carlok/received_events","type":"User","site_admin":false},"created_at":"2017-03-18T13:09:05Z","updated_at":"2017-03-18T13:09:05Z","body":"Hi, I created a new, now working gists with comments (httpie client: cleanear than curl) on its head with link to the docs and this thread.\r\nIt is at\r\nhttps://gist.github.com/carlok/599443aebbfad8312dd5294c48ab9d31\r\nThis is almost the same example of the homepage of the project but this one is working with the recent versions so I'd suggest to update the example according to this one (or a variant) also according to the links you pointed me out to.\r\nThank you so much for your help."}}
{"actor":{"display_login":"carlok"}}