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:
100
100
.. code-block :: python
101
101
102
102
OAUTH2_PROVIDER = {
103
- # parses OAuth2 data from application/json requests
104
- ' OAUTH2_BACKEND_CLASS' : ' oauth2_provider.oauth2_backends.JSONOAuthLibCore' ,
105
103
# this is the list of available scopes
106
104
' SCOPES' : {' read' : ' Read scope' , ' write' : ' Write scope' , ' groups' : ' Access to your groups' }
107
105
}
@@ -114,10 +112,6 @@ Also add the following to your `settings.py` module:
114
112
)
115
113
}
116
114
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
-
121
115
`OAUTH2_PROVIDER.SCOPES ` setting parameter contains the scopes that the application will be aware of,
122
116
so we can use them for permission check.
123
117
You can’t perform that action at this time.
0 commit comments