Skip to content

Commit f4d960b

Browse files
n2ygkauvipy
authored andcommitted
Revert "getting_started.rst: add JSONOAuthLibCore as part of tutorial (#734)"
This reverts commit 392257a.
1 parent fd0a0d8 commit f4d960b

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

docs/rest-framework/getting_started.rst

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -100,8 +100,6 @@ Also add the following to your `settings.py` module:
100100
.. code-block:: python
101101
102102
OAUTH2_PROVIDER = {
103-
# parses OAuth2 data from application/json requests
104-
'OAUTH2_BACKEND_CLASS': 'oauth2_provider.oauth2_backends.JSONOAuthLibCore',
105103
# this is the list of available scopes
106104
'SCOPES': {'read': 'Read scope', 'write': 'Write scope', 'groups': 'Access to your groups'}
107105
}
@@ -114,10 +112,6 @@ Also add the following to your `settings.py` module:
114112
)
115113
}
116114
117-
`OAUTH2_PROVIDER` setting parameter sets the backend class that is used to parse OAuth2 requests.
118-
The `JSONOAuthLibCore` class extends the default OAuthLibCore to parse correctly
119-
`application/json` requests.
120-
121115
`OAUTH2_PROVIDER.SCOPES` setting parameter contains the scopes that the application will be aware of,
122116
so we can use them for permission check.
123117

0 commit comments

Comments
 (0)