{"action":"created","issue":{"url":"https://api.github.com/repos/edx/django-oauth2-provider/issues/14","labels_url":"https://api.github.com/repos/edx/django-oauth2-provider/issues/14/labels{/name}","comments_url":"https://api.github.com/repos/edx/django-oauth2-provider/issues/14/comments","events_url":"https://api.github.com/repos/edx/django-oauth2-provider/issues/14/events","html_url":"https://github.com/edx/django-oauth2-provider/pull/14","id":115956991,"number":14,"title":"Support for response_type=token","user":{"login":"justinabrahms","id":3853,"avatar_url":"https://avatars.githubusercontent.com/u/3853?v=3","gravatar_id":"","url":"https://api.github.com/users/justinabrahms","html_url":"https://github.com/justinabrahms","followers_url":"https://api.github.com/users/justinabrahms/followers","following_url":"https://api.github.com/users/justinabrahms/following{/other_user}","gists_url":"https://api.github.com/users/justinabrahms/gists{/gist_id}","starred_url":"https://api.github.com/users/justinabrahms/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/justinabrahms/subscriptions","organizations_url":"https://api.github.com/users/justinabrahms/orgs","repos_url":"https://api.github.com/users/justinabrahms/repos","events_url":"https://api.github.com/users/justinabrahms/events{/privacy}","received_events_url":"https://api.github.com/users/justinabrahms/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/edx/django-oauth2-provider/labels/needs%20triage","name":"needs triage","color":"ededed"},{"url":"https://api.github.com/repos/edx/django-oauth2-provider/labels/open-source-contribution","name":"open-source-contribution","color":"ededed"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":23,"created_at":"2015-11-09T20:18:17Z","updated_at":"2015-11-20T20:44:13Z","closed_at":"2015-11-20T20:37:40Z","pull_request":{"url":"https://api.github.com/repos/edx/django-oauth2-provider/pulls/14","html_url":"https://github.com/edx/django-oauth2-provider/pull/14","diff_url":"https://github.com/edx/django-oauth2-provider/pull/14.diff","patch_url":"https://github.com/edx/django-oauth2-provider/pull/14.patch"},"body":"# Overview\r\n\r\nThis change adds support for implicit grant oauth status. This change is necessary to support browser-only OAuth clients, which we'll be making use of as part of some CCX work at MIT's ODL. This does not remove functionality, but rather provides another avenue for OAuth2 clients.\r\n\r\n# Manual testing\r\n\r\nYou should be able to issue a request to the following URL (note that you'll need to update the client_id and redirect_uri to match what's on your local system). The result should redirect you to localhost:9001 with a URL fragment containing the access token.\r\n\r\nhttp://localhost:8000/oauth2/authorize/?client_id=015c91a76033cac3040d&redirect_uri=localhost:9001&response_type=token\r\n\r\nExample result: http://localhost:9001/#access_token=a16051276d052616bcb2f87e71974aaedab9bdfa&token_type=Bearer&expires_in=2591999&scope=\r\n\r\n# Background\r\nThis is mostly code from https://github.com/caffeinehit/django-oauth2-provider/pull/59 with the exception of a few tests that I wrote.\r\n\r\nIt relies on #13.\r\n\r\nI've not communicated with the greater edX team about this work in particular and there is no backing JIRA ticket."},"comment":{"url":"https://api.github.com/repos/edx/django-oauth2-provider/issues/comments/158519082","html_url":"https://github.com/edx/django-oauth2-provider/pull/14#issuecomment-158519082","issue_url":"https://api.github.com/repos/edx/django-oauth2-provider/issues/14","id":158519082,"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},"created_at":"2015-11-20T20:44:13Z","updated_at":"2015-11-20T20:44:13Z","body":"Our UI/UX resources are spread thin. It might be quicker to propose your own design, and use it as a baseline."}}