File tree Expand file tree Collapse file tree 1 file changed +0
-6
lines changed Expand file tree Collapse file tree 1 file changed +0
-6
lines changed Original file line number Diff line number Diff 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,
122116so we can use them for permission check.
123117
You can’t perform that action at this time.
0 commit comments