Hi, has anyone got transient payloads to work when...
# talk-kratos
g
Hi, has anyone got transient payloads to work when sending a form as
x-www-form-urlencoded
? I have an input field in the form which I fill with the data I want to pass to a web hook during registration:
<input name="transient_payload.organizations" id="organizations" type="hidden" value="something here" />
But in the
ctx.flow
I see that the data is not there:
'transient_payload': {}
So has anyone got it working or is it something obvious I'm missing?
Solved it, the problem was that I was naming it
transient_payload.organizations
. Instead you need to name it just
transient_payload
and then format the value as JSON.