{"action":"created","issue":{"url":"https://api.github.com/repos/omab/python-social-auth/issues/912","repository_url":"https://api.github.com/repos/omab/python-social-auth","labels_url":"https://api.github.com/repos/omab/python-social-auth/issues/912/labels{/name}","comments_url":"https://api.github.com/repos/omab/python-social-auth/issues/912/comments","events_url":"https://api.github.com/repos/omab/python-social-auth/issues/912/events","html_url":"https://github.com/omab/python-social-auth/pull/912","id":150604303,"number":912,"title":"Storing token_type in extra_data field when using OAuth 2.0","user":{"login":"clintonb","id":910510,"avatar_url":"https://avatars.githubusercontent.com/u/910510?v=3","gravatar_id":"","url":"https://api.github.com/users/clintonb","html_url":"https://github.com/clintonb","followers_url":"https://api.github.com/users/clintonb/followers","following_url":"https://api.github.com/users/clintonb/following{/other_user}","gists_url":"https://api.github.com/users/clintonb/gists{/gist_id}","starred_url":"https://api.github.com/users/clintonb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/clintonb/subscriptions","organizations_url":"https://api.github.com/users/clintonb/orgs","repos_url":"https://api.github.com/users/clintonb/repos","events_url":"https://api.github.com/users/clintonb/events{/privacy}","received_events_url":"https://api.github.com/users/clintonb/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2016-04-23T22:30:43Z","updated_at":"2016-05-05T16:34:04Z","closed_at":"2016-05-05T16:33:33Z","pull_request":{"url":"https://api.github.com/repos/omab/python-social-auth/pulls/912","html_url":"https://github.com/omab/python-social-auth/pull/912","diff_url":"https://github.com/omab/python-social-auth/pull/912.diff","patch_url":"https://github.com/omab/python-social-auth/pull/912.patch"},"body":"This value is useful for authentication servers (AS) that may provide multiple types of tokens. Most servers use the `Bearer` token type; however, we at @edx are transitioning to using `JWT`. The ability to make the switch without having to change our backend would be ideal. Storing the token type means we can avoid hardcoding the value and let the access token response determine which scheme is used for future requests made using the issued token."},"comment":{"url":"https://api.github.com/repos/omab/python-social-auth/issues/comments/217203251","html_url":"https://github.com/omab/python-social-auth/pull/912#issuecomment-217203251","issue_url":"https://api.github.com/repos/omab/python-social-auth/issues/912","id":217203251,"user":{"login":"omab","id":91022,"avatar_url":"https://avatars.githubusercontent.com/u/91022?v=3","gravatar_id":"","url":"https://api.github.com/users/omab","html_url":"https://github.com/omab","followers_url":"https://api.github.com/users/omab/followers","following_url":"https://api.github.com/users/omab/following{/other_user}","gists_url":"https://api.github.com/users/omab/gists{/gist_id}","starred_url":"https://api.github.com/users/omab/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/omab/subscriptions","organizations_url":"https://api.github.com/users/omab/orgs","repos_url":"https://api.github.com/users/omab/repos","events_url":"https://api.github.com/users/omab/events{/privacy}","received_events_url":"https://api.github.com/users/omab/received_events","type":"User","site_admin":false},"created_at":"2016-05-05T16:34:04Z","updated_at":"2016-05-05T16:34:04Z","body":"@clintonb thanks for this PR, I've merged it but ran PEP8 on it first."}}