{"action":"created","issue":{"url":"https://api.github.com/repos/donejs/done-ssr/issues/186","repository_url":"https://api.github.com/repos/donejs/done-ssr","labels_url":"https://api.github.com/repos/donejs/done-ssr/issues/186/labels{/name}","comments_url":"https://api.github.com/repos/donejs/done-ssr/issues/186/comments","events_url":"https://api.github.com/repos/donejs/done-ssr/issues/186/events","html_url":"https://github.com/donejs/done-ssr/pull/186","id":174343806,"number":186,"title":"Allow configuring an authCookie name for token auth","user":{"login":"marshallswain","id":128857,"avatar_url":"https://avatars.githubusercontent.com/u/128857?v=3","gravatar_id":"","url":"https://api.github.com/users/marshallswain","html_url":"https://github.com/marshallswain","followers_url":"https://api.github.com/users/marshallswain/followers","following_url":"https://api.github.com/users/marshallswain/following{/other_user}","gists_url":"https://api.github.com/users/marshallswain/gists{/gist_id}","starred_url":"https://api.github.com/users/marshallswain/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/marshallswain/subscriptions","organizations_url":"https://api.github.com/users/marshallswain/orgs","repos_url":"https://api.github.com/users/marshallswain/repos","events_url":"https://api.github.com/users/marshallswain/events{/privacy}","received_events_url":"https://api.github.com/users/marshallswain/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-08-31T18:26:07Z","updated_at":"2016-08-31T18:44:24Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/donejs/done-ssr/pulls/186","html_url":"https://github.com/donejs/done-ssr/pull/186","diff_url":"https://github.com/donejs/done-ssr/pull/186.diff","patch_url":"https://github.com/donejs/done-ssr/pull/186.patch"},"body":"This adds an option to the xhr zone that allows you to add a cookie name where an auth token will be potentially located.  If a token is found, it copies the token to the authorization header of all outgoing requests.\r\n\r\nAlso removed the token_test and set up the auth-cookie_test, since this replaces that functionality."},"comment":{"url":"https://api.github.com/repos/donejs/done-ssr/issues/comments/243861240","html_url":"https://github.com/donejs/done-ssr/pull/186#issuecomment-243861240","issue_url":"https://api.github.com/repos/donejs/done-ssr/issues/186","id":243861240,"user":{"login":"matthewp","id":361671,"avatar_url":"https://avatars.githubusercontent.com/u/361671?v=3","gravatar_id":"","url":"https://api.github.com/users/matthewp","html_url":"https://github.com/matthewp","followers_url":"https://api.github.com/users/matthewp/followers","following_url":"https://api.github.com/users/matthewp/following{/other_user}","gists_url":"https://api.github.com/users/matthewp/gists{/gist_id}","starred_url":"https://api.github.com/users/matthewp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/matthewp/subscriptions","organizations_url":"https://api.github.com/users/matthewp/orgs","repos_url":"https://api.github.com/users/matthewp/repos","events_url":"https://api.github.com/users/matthewp/events{/privacy}","received_events_url":"https://api.github.com/users/matthewp/received_events","type":"User","site_admin":false},"created_at":"2016-08-31T18:44:24Z","updated_at":"2016-08-31T18:44:24Z","body":"Can you document this feature in the readme? It would go under the options [here](https://github.com/donejs/done-ssr#options)."}}
{"actor":{"display_login":"matthewp"}}