{"action":"closed","issue":{"url":"https://api.github.com/repos/thoughtbot/clearance/issues/713","repository_url":"https://api.github.com/repos/thoughtbot/clearance","labels_url":"https://api.github.com/repos/thoughtbot/clearance/issues/713/labels{/name}","comments_url":"https://api.github.com/repos/thoughtbot/clearance/issues/713/comments","events_url":"https://api.github.com/repos/thoughtbot/clearance/issues/713/events","html_url":"https://github.com/thoughtbot/clearance/issues/713","id":184064874,"number":713,"title":"different behavior for api calls","user":{"login":"jjb","id":6097,"avatar_url":"https://avatars.githubusercontent.com/u/6097?v=3","gravatar_id":"","url":"https://api.github.com/users/jjb","html_url":"https://github.com/jjb","followers_url":"https://api.github.com/users/jjb/followers","following_url":"https://api.github.com/users/jjb/following{/other_user}","gists_url":"https://api.github.com/users/jjb/gists{/gist_id}","starred_url":"https://api.github.com/users/jjb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jjb/subscriptions","organizations_url":"https://api.github.com/users/jjb/orgs","repos_url":"https://api.github.com/users/jjb/repos","events_url":"https://api.github.com/users/jjb/events{/privacy}","received_events_url":"https://api.github.com/users/jjb/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2016-10-19T20:25:32Z","updated_at":"2016-12-20T18:48:26Z","closed_at":"2016-12-20T18:48:26Z","body":"I'd like to \"turn off\" \"auto-login\" when my app is dealing with an api request. Currently if a client http library persists and sends cookies, clearance will actually authenticate a user before I do so with my api auth token scheme.\r\n\r\nis there a way to specify that clearance only authorize a user via cookie for certain controller actions?\r\n\r\nand/or, is there a way to selectively not send the remember token back with the response?\r\n\r\nsee also #708 \r\n"}}
{"actor":{"display_login":"jjb"}}