Fix oauth2 authorisation form not working
This commit is contained in:
@ -3,6 +3,10 @@
|
||||
CORS_ORIGIN_ALLOW_ALL = True
|
||||
REQUEST_APPROVAL_PROMPT = 'auto'
|
||||
|
||||
INSTALLED_APPS = [
|
||||
'oauth2_provider',
|
||||
'corsheaders',
|
||||
]
|
||||
MIDDLEWARE = [
|
||||
'oauth2_provider.middleware.OAuth2TokenMiddleware',
|
||||
'corsheaders.middleware.CorsMiddleware',
|
||||
|
||||
Reference in New Issue
Block a user