-
Notifications
You must be signed in to change notification settings - Fork 3
Environment Variables
Spotlight needs a few environment variables set for it to function. These are:
GOOGLE_API_CLIENT_ID: <YOUR-GOOGLE-CLIENT-ID>
GOOGLE_API_CLIENT_SECRET: <YOUR-GOOGLE-CLIENT-SECRET>
GOOGLE_HOST_DOMAIN: <YOUR-HOST-DOMAIN>
WEB_HOST: <URL of your Spotlight Dashboard deployment... for ex: https://spotlight.cfapps.io>
These are used for two distinct parts of the application. First, these credentials are used to authenticate users to spotlight. Second, these are used to authorise Spotlight to access calendar data during the calendar widget creation process. You will need
This is the domain that users are expected to belong to when they sign in to spotlight using their google account. If a user tries to login with an account that does not belong to the domain, they will not be authenticated. Note as of now it is mandatory that users belong to a particular domain (pull-requests to make this optional are welcome!). Configure it to be your organization's domain. Example: pivotal.io
The url to redirect to after a widget has been created. Note this is a temporary "web hook" that will be removed when widgets can be created via an api.