{"action":"created","issue":{"url":"https://api.github.com/repos/wndhydrnt/python-oauth2/issues/45","repository_url":"https://api.github.com/repos/wndhydrnt/python-oauth2","labels_url":"https://api.github.com/repos/wndhydrnt/python-oauth2/issues/45/labels{/name}","comments_url":"https://api.github.com/repos/wndhydrnt/python-oauth2/issues/45/comments","events_url":"https://api.github.com/repos/wndhydrnt/python-oauth2/issues/45/events","html_url":"https://github.com/wndhydrnt/python-oauth2/pull/45","id":78048628,"number":45,"title":"ImplicitGrantHandler is not creating the AccessToken with user_id","user":{"login":"viniciuschiele","id":392495,"avatar_url":"https://avatars.githubusercontent.com/u/392495?v=3","gravatar_id":"","url":"https://api.github.com/users/viniciuschiele","html_url":"https://github.com/viniciuschiele","followers_url":"https://api.github.com/users/viniciuschiele/followers","following_url":"https://api.github.com/users/viniciuschiele/following{/other_user}","gists_url":"https://api.github.com/users/viniciuschiele/gists{/gist_id}","starred_url":"https://api.github.com/users/viniciuschiele/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/viniciuschiele/subscriptions","organizations_url":"https://api.github.com/users/viniciuschiele/orgs","repos_url":"https://api.github.com/users/viniciuschiele/repos","events_url":"https://api.github.com/users/viniciuschiele/events{/privacy}","received_events_url":"https://api.github.com/users/viniciuschiele/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-05-19T11:28:22Z","updated_at":"2016-02-12T19:36:55Z","closed_at":"2016-02-12T19:36:55Z","pull_request":{"url":"https://api.github.com/repos/wndhydrnt/python-oauth2/pulls/45","html_url":"https://github.com/wndhydrnt/python-oauth2/pull/45","diff_url":"https://github.com/wndhydrnt/python-oauth2/pull/45.diff","patch_url":"https://github.com/wndhydrnt/python-oauth2/pull/45.patch"},"body":"It is missing user_id=data[1] when instantiating the class AccessToken"},"comment":{"url":"https://api.github.com/repos/wndhydrnt/python-oauth2/issues/comments/183460502","html_url":"https://github.com/wndhydrnt/python-oauth2/pull/45#issuecomment-183460502","issue_url":"https://api.github.com/repos/wndhydrnt/python-oauth2/issues/45","id":183460502,"user":{"login":"wndhydrnt","id":3942978,"avatar_url":"https://avatars.githubusercontent.com/u/3942978?v=3","gravatar_id":"","url":"https://api.github.com/users/wndhydrnt","html_url":"https://github.com/wndhydrnt","followers_url":"https://api.github.com/users/wndhydrnt/followers","following_url":"https://api.github.com/users/wndhydrnt/following{/other_user}","gists_url":"https://api.github.com/users/wndhydrnt/gists{/gist_id}","starred_url":"https://api.github.com/users/wndhydrnt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wndhydrnt/subscriptions","organizations_url":"https://api.github.com/users/wndhydrnt/orgs","repos_url":"https://api.github.com/users/wndhydrnt/repos","events_url":"https://api.github.com/users/wndhydrnt/events{/privacy}","received_events_url":"https://api.github.com/users/wndhydrnt/received_events","type":"User","site_admin":false},"created_at":"2016-02-12T19:36:55Z","updated_at":"2016-02-12T19:36:55Z","body":"After thinking about it for ten months (ok, not really...), I think it is fine the way it is.\r\nPassing `user_id` is only necessary if [unique access tokens](http://python-oauth2.readthedocs.org/en/latest/unique_token.html) are enabled. `ImplicitGrantHandler` does not support unique access tokens because, in this auth flow, the token ends up in the browser and should therefore not be considered secure."}}