{"action":"created","issue":{"url":"https://api.github.com/repos/edx/edx-platform/issues/12954","repository_url":"https://api.github.com/repos/edx/edx-platform","labels_url":"https://api.github.com/repos/edx/edx-platform/issues/12954/labels{/name}","comments_url":"https://api.github.com/repos/edx/edx-platform/issues/12954/comments","events_url":"https://api.github.com/repos/edx/edx-platform/issues/12954/events","html_url":"https://github.com/edx/edx-platform/pull/12954","id":164195134,"number":12954,"title":"Unify JWT generation code","user":{"login":"rlucioni","id":969289,"avatar_url":"https://avatars.githubusercontent.com/u/969289?v=3","gravatar_id":"","url":"https://api.github.com/users/rlucioni","html_url":"https://github.com/rlucioni","followers_url":"https://api.github.com/users/rlucioni/followers","following_url":"https://api.github.com/users/rlucioni/following{/other_user}","gists_url":"https://api.github.com/users/rlucioni/gists{/gist_id}","starred_url":"https://api.github.com/users/rlucioni/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rlucioni/subscriptions","organizations_url":"https://api.github.com/users/rlucioni/orgs","repos_url":"https://api.github.com/users/rlucioni/repos","events_url":"https://api.github.com/users/rlucioni/events{/privacy}","received_events_url":"https://api.github.com/users/rlucioni/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2016-07-06T23:06:58Z","updated_at":"2016-07-07T21:25:56Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/edx/edx-platform/pulls/12954","html_url":"https://github.com/edx/edx-platform/pull/12954","diff_url":"https://github.com/edx/edx-platform/pull/12954.diff","patch_url":"https://github.com/edx/edx-platform/pull/12954.patch"},"body":"@clintonb this is a WIP, but I wanted to run it by you. These changes unify four different approaches to JWT creation.\r\n\r\nI've moved the core of the [`AccessTokenView`](https://github.com/edx/edx-platform/blob/master/lms/djangoapps/oauth_dispatch/views.py#L83) to a general-purpose `JwtBuilder` class. This utility class defaults to using the system's JWT configuration, but it will allow overriding of the signing key and audience claim to support those clients which still require this. (As this stands, tests will fail; I still need to clean up stale test references to the old utility functions.)"},"comment":{"url":"https://api.github.com/repos/edx/edx-platform/issues/comments/231212178","html_url":"https://github.com/edx/edx-platform/pull/12954#issuecomment-231212178","issue_url":"https://api.github.com/repos/edx/edx-platform/issues/12954","id":231212178,"user":{"login":"rlucioni","id":969289,"avatar_url":"https://avatars.githubusercontent.com/u/969289?v=3","gravatar_id":"","url":"https://api.github.com/users/rlucioni","html_url":"https://github.com/rlucioni","followers_url":"https://api.github.com/users/rlucioni/followers","following_url":"https://api.github.com/users/rlucioni/following{/other_user}","gists_url":"https://api.github.com/users/rlucioni/gists{/gist_id}","starred_url":"https://api.github.com/users/rlucioni/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rlucioni/subscriptions","organizations_url":"https://api.github.com/users/rlucioni/orgs","repos_url":"https://api.github.com/users/rlucioni/repos","events_url":"https://api.github.com/users/rlucioni/events{/privacy}","received_events_url":"https://api.github.com/users/rlucioni/received_events","type":"User","site_admin":false},"created_at":"2016-07-07T21:25:56Z","updated_at":"2016-07-07T21:25:56Z","body":"jenkins run bokchoy"}}
{"actor":{"display_login":"rlucioni"}}