https://www.ory.sh/ logo
#talk-kratos
Title
# talk-kratos
m

microscopic-tomato-56340

06/11/2021, 1:54 AM
Hello, I have been trying unsuccessfully to configure webhook authentication method with environment variable. Did some of you succeeded ? I tried to set following env variables •
SELFSERVICE_FLOWS_REGISTRATION_AFTER_PASSWORD_HOOKS_0_CONFIG_AUTH_CONFIG_PASSWORD
: It is simply ignored •
SELFSERVICE_FLOWS_REGISTRATION_AFTER_PASSWORD_HOOKS
: I set full JSON in the env variable, and got a json schema error "expected array, but got string" It is possible to configure arrays of int/float/string, but I didn't manage to configure array of struct. Did I miss something ?
f

faint-energy-48611

10/26/2021, 1:13 PM
I'm having the same issue
e

elegant-photographer-27079

11/20/2021, 4:48 PM
I'm seeing the same behavior as well, it looks like https://github.com/ory/kratos/issues/1792 also covers this and there's no workaround available. A bit annoying because this is the only reason we now have to recreate our config file per environment as our webhook path is different in production/staging vs local
4 Views