{"action":"created","issue":{"url":"https://api.github.com/repos/hapijs/hapi-auth-cookie/issues/82","labels_url":"https://api.github.com/repos/hapijs/hapi-auth-cookie/issues/82/labels{/name}","comments_url":"https://api.github.com/repos/hapijs/hapi-auth-cookie/issues/82/comments","events_url":"https://api.github.com/repos/hapijs/hapi-auth-cookie/issues/82/events","html_url":"https://github.com/hapijs/hapi-auth-cookie/pull/82","id":101331267,"number":82,"title":"Error: Uncaught error: No active session to apply key to","user":{"login":"rainabba","id":553630,"avatar_url":"https://avatars.githubusercontent.com/u/553630?v=3","gravatar_id":"","url":"https://api.github.com/users/rainabba","html_url":"https://github.com/rainabba","followers_url":"https://api.github.com/users/rainabba/followers","following_url":"https://api.github.com/users/rainabba/following{/other_user}","gists_url":"https://api.github.com/users/rainabba/gists{/gist_id}","starred_url":"https://api.github.com/users/rainabba/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rainabba/subscriptions","organizations_url":"https://api.github.com/users/rainabba/orgs","repos_url":"https://api.github.com/users/rainabba/repos","events_url":"https://api.github.com/users/rainabba/events{/privacy}","received_events_url":"https://api.github.com/users/rainabba/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":14,"created_at":"2015-08-17T03:18:44Z","updated_at":"2015-09-09T21:09:02Z","closed_at":"2015-09-09T18:23:00Z","pull_request":{"url":"https://api.github.com/repos/hapijs/hapi-auth-cookie/pulls/82","html_url":"https://github.com/hapijs/hapi-auth-cookie/pull/82","diff_url":"https://github.com/hapijs/hapi-auth-cookie/pull/82.diff","patch_url":"https://github.com/hapijs/hapi-auth-cookie/pull/82.patch"},"body":"auth.artifacts is optional for Hapi, but hapi-auth-cookie was requiring it; causing an error when multiple strategies were employed and artifacts was empty.This change just expands the check for a session to include checking for auth.credentials (which is required for an authenticated session)."},"comment":{"url":"https://api.github.com/repos/hapijs/hapi-auth-cookie/issues/comments/139046494","html_url":"https://github.com/hapijs/hapi-auth-cookie/pull/82#issuecomment-139046494","issue_url":"https://api.github.com/repos/hapijs/hapi-auth-cookie/issues/82","id":139046494,"user":{"login":"rainabba","id":553630,"avatar_url":"https://avatars.githubusercontent.com/u/553630?v=3","gravatar_id":"","url":"https://api.github.com/users/rainabba","html_url":"https://github.com/rainabba","followers_url":"https://api.github.com/users/rainabba/followers","following_url":"https://api.github.com/users/rainabba/following{/other_user}","gists_url":"https://api.github.com/users/rainabba/gists{/gist_id}","starred_url":"https://api.github.com/users/rainabba/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rainabba/subscriptions","organizations_url":"https://api.github.com/users/rainabba/orgs","repos_url":"https://api.github.com/users/rainabba/repos","events_url":"https://api.github.com/users/rainabba/events{/privacy}","received_events_url":"https://api.github.com/users/rainabba/received_events","type":"User","site_admin":false},"created_at":"2015-09-09T21:09:02Z","updated_at":"2015-09-09T21:09:02Z","body":"https://github.com/hapijs/hapi-auth-cookie/pull/88"}}