providers/oauth: fix default cors settings
This commit is contained in:
parent
e1f0fe45cb
commit
97b5d120f8
|
@ -1,6 +1,8 @@
|
||||||
"""passbook OAuth_Provider"""
|
"""passbook OAuth_Provider"""
|
||||||
|
from django.conf import settings
|
||||||
|
|
||||||
|
CORS_ORIGIN_ALLOW_ALL = settings.DEBUG
|
||||||
|
|
||||||
CORS_ORIGIN_ALLOW_ALL = True
|
|
||||||
REQUEST_APPROVAL_PROMPT = "auto"
|
REQUEST_APPROVAL_PROMPT = "auto"
|
||||||
|
|
||||||
INSTALLED_APPS = [
|
INSTALLED_APPS = [
|
||||||
|
|
Reference in New Issue