aboutsummaryrefslogtreecommitdiff
path: root/gn_auth/settings.py
diff options
context:
space:
mode:
Diffstat (limited to 'gn_auth/settings.py')
-rw-r--r--gn_auth/settings.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/gn_auth/settings.py b/gn_auth/settings.py
index e8611bf..394c557 100644
--- a/gn_auth/settings.py
+++ b/gn_auth/settings.py
@@ -19,3 +19,10 @@ REDIS_URI = "redis://localhost:6379/0"
OAUTH2_SCOPE = (
"profile", "group", "role", "resource", "user", "masquerade",
"introspect")
+
+CORS_ORIGINS = "*"
+CORS_HEADERS = [
+ "Content-Type",
+ "Authorization",
+ "Access-Control-Allow-Credentials"
+]