serlo / infrastructure-modules-shared

Apache License 2.0
4 stars 1 forks source link

kratos: make config file environment-aware #32

Closed hugotiburtino closed 1 year ago

hugotiburtino commented 1 year ago

For SSO we need to keep staging different from prod for a while. It means kratos config should be one for staging (where we would add oidc), and other for production (without oidc). Possible solutions: a. add two config files here and a flag in terraform, in order to choose the correct file according to the environment b. move the config file to Cloudflare Worker (where we can more easily manage two enviroments). To be checked: what happens with secrets?

hugotiburtino commented 1 year ago

M4.1 SSO ist im Test-System nutzbar