Allowed domains env variable for Google Auth (#682)

* Allowed domains env variable for Google Auth

* Fixing lint errors

* PR comments. Use includes instead of indexOf
This commit is contained in:
Satyadeep
2018-06-17 01:06:02 +05:30
committed by Tom Moor
parent 19c5cafa51
commit fad5976dd2
3 changed files with 18 additions and 1 deletions

View File

@@ -20,6 +20,9 @@ SLACK_SECRET=d2dc414f9953226bad0a356cXXXXYYYY
GOOGLE_CLIENT_ID=
GOOGLE_CLIENT_SECRET=
# Comma separated list of domains to be allowed (optional)
# If not set, all Google apps domains are allowed by default
GOOGLE_ALLOWED_DOMAINS=
# Third party credentials (optional)
SLACK_VERIFICATION_TOKEN=PLxk6OlXXXXXVj3YYYY