Files
firezone/.env.sample
Jamil 51040eac8e soft-require EXTERNAL_URL to be set (#632)
* soft-require EXTERNAL_URL to be set

* fix typos
2022-05-18 21:17:23 -07:00

16 lines
1.0 KiB
Plaintext

MIX_ENV=dev
# This is a sample .env file. Update and add variables in here as needed, and
# rename to `.env`
# Set the EXTERNAL_URL
EXTERNAL_URL=http://localhost:4000
LOCAL_AUTH_ENABLED=true
# Set PROXY_FORWARDED to true if you're running this behind a proxy or using
# GitHub codespaces
PROXY_FORWARDED=true
# Generated with `jq @json < .oidc_env.json`
# export AUTH_OIDC="{\"google\":{\"discovery_document_uri\":\"https://accounts.google.com/.well-known/openid-configuration\",\"client_id\":\"1032390727302-u0lg90d3i1ive15lv7qgtbkka0hnsmgr.apps.googleusercontent.com\",\"client_secret\":\"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\",\"redirect_uri\":\"https://example.com/session\",\"response_type\":\"code\",\"scope\":\"openid email profile\",\"label\":\"Google\"},\"okta\":{\"discovery_document_uri\":\"https://accounts.google.com/.well-known/openid-configuration\",\"client_id\":\"CLIENT_ID\",\"client_secret\":\"CLIENT_SECRET\",\"redirect_uri\":\"https://example.com/session\",\"response_type\":\"code\",\"scope\":\"openid email profile\",\"label\":\"Okta\"}}"