{"action":"opened","issue":{"url":"https://api.github.com/repos/lynndylanhurley/j-toker/issues/42","repository_url":"https://api.github.com/repos/lynndylanhurley/j-toker","labels_url":"https://api.github.com/repos/lynndylanhurley/j-toker/issues/42/labels{/name}","comments_url":"https://api.github.com/repos/lynndylanhurley/j-toker/issues/42/comments","events_url":"https://api.github.com/repos/lynndylanhurley/j-toker/issues/42/events","html_url":"https://github.com/lynndylanhurley/j-toker/issues/42","id":307089675,"number":42,"title":"Adapt to changes for devise_token_auth 0.1.43","user":{"login":"hector","id":34079,"avatar_url":"https://avatars0.githubusercontent.com/u/34079?v=4","gravatar_id":"","url":"https://api.github.com/users/hector","html_url":"https://github.com/hector","followers_url":"https://api.github.com/users/hector/followers","following_url":"https://api.github.com/users/hector/following{/other_user}","gists_url":"https://api.github.com/users/hector/gists{/gist_id}","starred_url":"https://api.github.com/users/hector/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hector/subscriptions","organizations_url":"https://api.github.com/users/hector/orgs","repos_url":"https://api.github.com/users/hector/repos","events_url":"https://api.github.com/users/hector/events{/privacy}","received_events_url":"https://api.github.com/users/hector/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-03-21T00:55:39Z","updated_at":"2018-03-21T00:55:39Z","closed_at":null,"author_association":"NONE","body":"With the upgrade of devise_token_auth from 0.1.42 to 0.1.43 request do not return an auth_token header if in batch mode, as explained in this issue:\r\nhttps://github.com/lynndylanhurley/devise_token_auth/issues/702\r\n\r\nSince the upgrade of devise_auth_token, j-toker stopped working for me on some requests.\r\nShouldn't j-toker avoid saving the auth_token header when it is empty, i.e. it is \"\"?\r\nMaybe it should change around this line:\r\nhttps://github.com/lynndylanhurley/j-toker/blob/bd3344ea345f487b14d52fafb654e10708851b57/src/j-toker.js#L1206"}}
{"actor":{"display_login":"hector"}}