purple-beard-97222
03/15/2023, 7:04 PMI[#/selfservice/flows/registration/after] S[#/properties/selfservice/properties/flows/properties/registration/properties/after/$ref] doesn't validate with "#/definitions/selfServiceAfterRegistration"
I[#/selfservice/flows/registration/after/hooks] S[#/definitions/selfServiceAfterRegistration/properties/hooks/$ref] doesn't validate with "#/definitions/selfServiceHooks"
I[#/selfservice/flows/registration/after/hooks/0] S[#/definitions/selfServiceHooks/items/anyOf] anyOf failed
I[#/selfservice/flows/registration/after/hooks/0] S[#/definitions/selfServiceHooks/items/anyOf/0/$ref] doesn't validate with "#/definitions/selfServiceWebHook"
I[#/selfservice/flows/registration/after/hooks/0/config/response] S[#/definitions/selfServiceWebHook/properties/config/properties/response/additionalProperties] additionalProperties "parse" not allowed
make: *** [Makefile:42: start/dev] Error 1
this is my config
registration:
lifespan: 10m
ui_url: <http://localhost:3000/signup>
after:
password:
hooks:
- hook: session
hooks:
- hook: web_hook
config:
url: <http://localhost:8085/organization>
method: POST
body: <base64://ZnVuY3Rpb24oY3R4KSB7IHVzZXJfaWQ6IGN0eC5pZGVudGl0eS5pZCB9Cg>==
response:
ignore: false
parse: true
auth:
type: api_key
config:
name: x-internal-key
value: REDACTED
in: header
The docs clearly mention, parse is a very valid verb (these are the latest docs btw)
Pulled in verbatim from https://www.ory.sh/docs/guides/integrate-with-ory-cloud-through-webhooks
What is going wrong here?proud-plumber-24205
03/16/2023, 7:12 AMresponse.parse: true
. Most likely hasn't been released yet into a version. Try the master branch?
response.parse: true
option. This would mean, however, that your service would need to return a valid JSON response understood by Kratos.{
"identity": {
"traits": {
"email": "<mailto:joe@example.org|joe@example.org>",
"another_value": "example"
}
}
}
another_value
most likely doesn't exist in the identity schema and with additional values off it throws the above error.purple-beard-97222
03/16/2023, 6:27 PMpurple-beard-97222
03/16/2023, 6:27 PMproud-plumber-24205
03/17/2023, 8:04 AMechoing-postman-28418
03/20/2023, 8:40 AMpurple-beard-97222
03/22/2023, 11:57 AM