mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-01-24 20:36:49 +00:00
Access tokens are only valid for half an hour. So if requesting a DFC API fails, it's likely due to an expired token and we refresh it.
18 lines
490 B
Plaintext
18 lines
490 B
Plaintext
# ENV vars for the test environment
|
|
# Override locally with `.env.test.local`
|
|
|
|
OFN_REDIS_JOBS_URL="redis://localhost:6379/2"
|
|
|
|
SECRET_TOKEN="xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
|
|
STRIPE_INSTANCE_SECRET_KEY="bogus_key"
|
|
STRIPE_CUSTOMER="bogus_customer"
|
|
STRIPE_ACCOUNT="bogus_account"
|
|
STRIPE_CLIENT_ID="bogus_client_id"
|
|
STRIPE_PUBLIC_TEST_API_KEY="bogus_stripe_publishable_key"
|
|
|
|
SITE_URL="test.host"
|
|
|
|
OPENID_APP_ID="test-provider"
|
|
OPENID_APP_SECRET="12345"
|
|
OPENID_REFRESH_TOKEN="dummy-refresh-token"
|