diff --git a/.env b/.env index bbaa5ed4..0bf11433 100644 --- a/.env +++ b/.env @@ -39,10 +39,12 @@ KC_DB_PASSWORD=Secret123! # where is the CLIENT_ID in lower case. # If an environment variable named _CLIENT_SECRET is present then this will be used to create # the CLIENT_SECRET for the client. Otherwise a new, random secret will be generated -CLIENTS=OFF,http://world.openfoodfacts.localhost OPFF,https://world.openpetfoodfacts.org +# NOTE: Client id's created in this way cannot include hyphens +CLIENTS=OFF,http://world.openfoodfacts.localhost OPFF,https://world.openpetfoodfacts.org OFF_PRO,http://world.pro.openfoodfacts.localhost -# Generate a specific secret for the OFF client so that this matches the configuration in Product Opener for local development +# Generate specific secrets for the OFF and OFF_PRO clients so that they match the configuration in Product Opener for local development OFF_CLIENT_SECRET=Cf4NdSAjZsNO9HLcuXeuvukzFu00roQa +OFF_PRO_CLIENT_SECRET=1ILwRhBtNJJDQrHp8lR7yrP9S0N2W7al # Redis is used to broadcast events when users are registered and deleted. REDIS_URL=redis:6379