2
0
mirror of https://github.com/offen/website.git synced 2024-11-22 01:00:26 +01:00

add signed authentication mechanism to secure optout cookie exchange

This commit is contained in:
Frederik Ring 2019-07-30 12:21:33 +02:00
parent dc88084702
commit f1b601008a
2 changed files with 1 additions and 4 deletions

View File

@ -3,8 +3,6 @@ version: 2
production_env: &production_env production_env: &production_env
environment: environment:
- SERVER_HOST=https://server-alpha.offen.dev - SERVER_HOST=https://server-alpha.offen.dev
- OPT_OUT_PIXEL_LOCATION=https://server-alpha.offen.dev/opt-out
- OPT_IN_PIXEL_LOCATION=https://server-alpha.offen.dev/opt-in
- KMS_HOST=https://kms-alpha.offen.dev - KMS_HOST=https://kms-alpha.offen.dev
- SCRIPT_HOST=https://script-alpha.offen.dev - SCRIPT_HOST=https://script-alpha.offen.dev
- AUDITORIUM_HOST=https://auditorium-alpha.offen.dev - AUDITORIUM_HOST=https://auditorium-alpha.offen.dev

View File

@ -47,6 +47,7 @@ services:
PORT: 8080 PORT: 8080
JWT_PUBLIC_KEY: http://accounts:5000/api/key JWT_PUBLIC_KEY: http://accounts:5000/api/key
DEVELOPMENT: '1' DEVELOPMENT: '1'
COOKIE_EXCHANGE_SECRET: Wsttdo4Z3mXV5sTc
ports: ports:
- 8080:8080 - 8080:8080
command: refresh run command: refresh run
@ -100,8 +101,6 @@ services:
- 9955:9955 - 9955:9955
environment: environment:
- VAULT_HOST=http://localhost:9977 - VAULT_HOST=http://localhost:9977
- OPT_OUT_PIXEL_LOCATION=http://localhost:8080/opt-out
- OPT_IN_PIXEL_LOCATION=http://localhost:8080/opt-in
accounts: accounts:
build: build: