{"action":"closed","issue":{"url":"https://api.github.com/repos/kennethreitz/requests/issues/2577","labels_url":"https://api.github.com/repos/kennethreitz/requests/issues/2577/labels{/name}","comments_url":"https://api.github.com/repos/kennethreitz/requests/issues/2577/comments","events_url":"https://api.github.com/repos/kennethreitz/requests/issues/2577/events","html_url":"https://github.com/kennethreitz/requests/issues/2577","id":71746970,"number":2577,"title":"Custom auth handler not called on redirect","user":{"login":"cefolger","id":2001681,"avatar_url":"https://avatars.githubusercontent.com/u/2001681?v=3","gravatar_id":"","url":"https://api.github.com/users/cefolger","html_url":"https://github.com/cefolger","followers_url":"https://api.github.com/users/cefolger/followers","following_url":"https://api.github.com/users/cefolger/following{/other_user}","gists_url":"https://api.github.com/users/cefolger/gists{/gist_id}","starred_url":"https://api.github.com/users/cefolger/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cefolger/subscriptions","organizations_url":"https://api.github.com/users/cefolger/orgs","repos_url":"https://api.github.com/users/cefolger/repos","events_url":"https://api.github.com/users/cefolger/events{/privacy}","received_events_url":"https://api.github.com/users/cefolger/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/kennethreitz/requests/labels/Needs%20Info","name":"Needs Info","color":"e11d21"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-04-29T00:43:23Z","updated_at":"2015-05-31T12:54:29Z","closed_at":"2015-05-31T12:54:29Z","body":"Hi, \r\n\r\nI have a custom auth handler, and my problem is that if the service returns a 302 the handler needs to be re-run to generate auth headers for the request to the new url.\r\n\r\nRight now I'm setting allow_redirects=False and handling this manually, but can this be done by requests instead?"}}