{"action":"opened","issue":{"url":"https://api.github.com/repos/rohe/pyoidc/issues/161","labels_url":"https://api.github.com/repos/rohe/pyoidc/issues/161/labels{/name}","comments_url":"https://api.github.com/repos/rohe/pyoidc/issues/161/comments","events_url":"https://api.github.com/repos/rohe/pyoidc/issues/161/events","html_url":"https://github.com/rohe/pyoidc/issues/161","id":127294142,"number":161,"title":"newstr URI returned by oaut2 client uri_and_body on Python 2","user":{"login":"flibbertigibbet","id":960264,"avatar_url":"https://avatars.githubusercontent.com/u/960264?v=3","gravatar_id":"","url":"https://api.github.com/users/flibbertigibbet","html_url":"https://github.com/flibbertigibbet","followers_url":"https://api.github.com/users/flibbertigibbet/followers","following_url":"https://api.github.com/users/flibbertigibbet/following{/other_user}","gists_url":"https://api.github.com/users/flibbertigibbet/gists{/gist_id}","starred_url":"https://api.github.com/users/flibbertigibbet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/flibbertigibbet/subscriptions","organizations_url":"https://api.github.com/users/flibbertigibbet/orgs","repos_url":"https://api.github.com/users/flibbertigibbet/repos","events_url":"https://api.github.com/users/flibbertigibbet/events{/privacy}","received_events_url":"https://api.github.com/users/flibbertigibbet/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-01-18T19:21:35Z","updated_at":"2016-01-18T19:21:35Z","closed_at":null,"body":"Redirect to provider to authenticate when using [django-oidc](https://github.com/marcanpilami/django-oidc) fails with TypeError:\r\n```\r\n'in <string>' requires string as left operand, not int\r\n```\r\non attempting to parse the URI, which is a `newstr` when using Python 2.\r\n"}}