{"action":"created","issue":{"url":"https://api.github.com/repos/evonove/django-oauth-toolkit/issues/234","labels_url":"https://api.github.com/repos/evonove/django-oauth-toolkit/issues/234/labels{/name}","comments_url":"https://api.github.com/repos/evonove/django-oauth-toolkit/issues/234/comments","events_url":"https://api.github.com/repos/evonove/django-oauth-toolkit/issues/234/events","html_url":"https://github.com/evonove/django-oauth-toolkit/pull/234","id":69447387,"number":234,"title":"oauthlib_backend_class is now pluggable through Django settings","user":{"login":"palazzem","id":1560405,"avatar_url":"https://avatars.githubusercontent.com/u/1560405?v=3","gravatar_id":"","url":"https://api.github.com/users/palazzem","html_url":"https://github.com/palazzem","followers_url":"https://api.github.com/users/palazzem/followers","following_url":"https://api.github.com/users/palazzem/following{/other_user}","gists_url":"https://api.github.com/users/palazzem/gists{/gist_id}","starred_url":"https://api.github.com/users/palazzem/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/palazzem/subscriptions","organizations_url":"https://api.github.com/users/palazzem/orgs","repos_url":"https://api.github.com/users/palazzem/repos","events_url":"https://api.github.com/users/palazzem/events{/privacy}","received_events_url":"https://api.github.com/users/palazzem/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/evonove/django-oauth-toolkit/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"open","locked":false,"assignee":{"login":"palazzem","id":1560405,"avatar_url":"https://avatars.githubusercontent.com/u/1560405?v=3","gravatar_id":"","url":"https://api.github.com/users/palazzem","html_url":"https://github.com/palazzem","followers_url":"https://api.github.com/users/palazzem/followers","following_url":"https://api.github.com/users/palazzem/following{/other_user}","gists_url":"https://api.github.com/users/palazzem/gists{/gist_id}","starred_url":"https://api.github.com/users/palazzem/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/palazzem/subscriptions","organizations_url":"https://api.github.com/users/palazzem/orgs","repos_url":"https://api.github.com/users/palazzem/repos","events_url":"https://api.github.com/users/palazzem/events{/privacy}","received_events_url":"https://api.github.com/users/palazzem/received_events","type":"User","site_admin":false},"milestone":null,"comments":2,"created_at":"2015-04-19T17:39:33Z","updated_at":"2015-04-20T11:35:36Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/evonove/django-oauth-toolkit/pulls/234","html_url":"https://github.com/evonove/django-oauth-toolkit/pull/234","diff_url":"https://github.com/evonove/django-oauth-toolkit/pull/234.diff","patch_url":"https://github.com/evonove/django-oauth-toolkit/pull/234.patch"},"body":"Developers can configure the ``oauthlib_backend_class`` used by ``OAuthLibMixin``. DOT generic views retrieve the ``oauthlib_backend_class`` instance through the ``OAUTH2_BACKEND_CLASS`` settings which is defaulted to ``oauth2_provider.oauth2_backends.OAuthLibCore``.\r\n\r\nIn this way, the RFC compliant ``OAuthLibCore`` class is used as a default, while developers can create or extend new implementations.\r\n\r\nThe ``oauth2_provider.oauth2_backends.JSONOAuthLibCore`` is provided and using it as a backend class, solves the issue #127. This approach accepts POST request using the ``application/json`` ``Content-Type`` for all token endpoints.\r\n\r\nBefore merging this PR we should:\r\n* code review provided tests\r\n* choose in which part of the documentation add the ``JSONOAuthLibCore`` example"},"comment":{"url":"https://api.github.com/repos/evonove/django-oauth-toolkit/issues/comments/94429490","html_url":"https://github.com/evonove/django-oauth-toolkit/pull/234#issuecomment-94429490","issue_url":"https://api.github.com/repos/evonove/django-oauth-toolkit/issues/234","id":94429490,"user":{"login":"coveralls","id":2354108,"avatar_url":"https://avatars.githubusercontent.com/u/2354108?v=3","gravatar_id":"","url":"https://api.github.com/users/coveralls","html_url":"https://github.com/coveralls","followers_url":"https://api.github.com/users/coveralls/followers","following_url":"https://api.github.com/users/coveralls/following{/other_user}","gists_url":"https://api.github.com/users/coveralls/gists{/gist_id}","starred_url":"https://api.github.com/users/coveralls/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/coveralls/subscriptions","organizations_url":"https://api.github.com/users/coveralls/orgs","repos_url":"https://api.github.com/users/coveralls/repos","events_url":"https://api.github.com/users/coveralls/events{/privacy}","received_events_url":"https://api.github.com/users/coveralls/received_events","type":"User","site_admin":false},"created_at":"2015-04-20T11:35:36Z","updated_at":"2015-04-20T11:35:36Z","body":"\n[![Coverage Status](https://coveralls.io/builds/2377007/badge)](https://coveralls.io/builds/2377007)\n\nCoverage increased (+0.02%) to 95.94% when pulling **cfff85a68596fa0a6b89ce563e21073a14744162 on palazzem:issue-127** into **df9e7528ca3680bdcfc260373756b6382bd13365 on evonove:master**.\n"}}