providers/oauth: fix default cors settings

This commit is contained in:
Jens Langhammer 2020-05-08 11:26:26 +02:00
parent e1f0fe45cb
commit 97b5d120f8
1 changed files with 3 additions and 1 deletions

View File

@ -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 = [