Join Slack
Powered by
Does anyone know if this is supported in ory/krato...
# ory-selfhosting
r
red-machine-69654
06/06/2025, 12:54 PM
Does anyone know if this is supported in ory/kratos v1.3.1?
https://www.ory.sh/docs/ecosystem/configuring#loading-configuration-from-environment-variables
I am specifically trying to set oidc secrets via environment variables, but when I omit them completely, Kratos fails to start and when I add a placeholder, it is using that instead of the environment variable.
e
enough-vase-33352
06/09/2025, 6:33 AM
Yup it’s supported. btw my company is using the self-hosted solution. u will have to inject the secrets in a json format documented here:
https://www.ory.sh/docs/kratos/configuring#environmental-variables
enough-vase-33352
06/09/2025, 6:33 AM
our team used a script to inject the secrets during deployment so that we do not commit them in the coebase.
c
calm-farmer-87562
06/09/2025, 6:05 PM
^^ this is what we do
r
red-machine-69654
06/09/2025, 8:14 PM
Cheers! I made it work with the longform too:
SELFSERVICE_FLOWS_…
Open in Slack
Previous
Next