Ask AI is now on the home page — ask a question and get a sourced answer from the Ory docs. You'll also find it in the bottom-right corner of any page.

Skip to main content

OryTransientPayload

type OryTransientPayload =
| Record<string, unknown>
| (formValues: FormValues) => Record<string, unknown>;

A transient payload value or factory function.

When a static object, it is included as-is in the submission body. When a function, it receives the current form values at submission time and must return the transient payload object.