Skip to content

Commit

Permalink
Add pro platform OIDC client
Browse files Browse the repository at this point in the history
Signed-off-by: John Gomersall <[email protected]>
  • Loading branch information
john-gom committed Jan 8, 2025
1 parent 2dd380a commit 914c06b
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .env
Original file line number Diff line number Diff line change
Expand Up @@ -39,10 +39,12 @@ KC_DB_PASSWORD=Secret123!
# where <client_id> is the CLIENT_ID in lower case.
# If an environment variable named <CLIENT_ID>_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
Expand Down

0 comments on commit 914c06b

Please sign in to comment.