few-scooter-86891
09/07/2023, 5:58 AMtransient_payload
param in Update Registration Flow?chilly-king-10285
09/07/2023, 5:58 AMchilly-king-10285
09/07/2023, 5:58 AMtransient_payload
is an object used in the Update Registration Flow API of Ory Kratos. It is used to pass data from the registration to a webhook. This data gets forwarded to webhooks without being persisted by Ory like identity traits do. For more complex use cases, you can pass additional data to the flow using this optional transient_payload
field. You can find more details in the [API Reference](https://www.ory.sh/docs/kratos/reference/api#tag/frontend/operation/updateRegistrationFlow).few-scooter-86891
09/07/2023, 6:04 AMchilly-king-10285
09/07/2023, 6:04 AMchilly-king-10285
09/07/2023, 6:05 AMweb_hook
action allows you to trigger any custom, external logic. This action can be used with all flows and methods except error and logout. Here is an example of how to configure a webhook: yaml hook: web_hook config: url: <http://localhost:5173/temp> response: parse: true
In this configuration, the url
field is where you specify your webhook URL. The parse
field under response
is set to true
, which means the result of the webhook execution will be parsed. If you want the webhook to modify the identity, make sure the webhook returns a JSON object with the key identity
in it. The values from that object will be used to change the identity before it is saved to the database. For more information, you can refer to the [Ory Kratos documentation on webhooks](https://www.ory.sh/docs/guides/integrate-with-ory-cloud-through-webhooks) and [Ory Kratos documentation on configuring hooks](https://www.ory.sh/docs/kratos/hooks/configure-hooks).few-scooter-86891
09/07/2023, 6:08 AMchilly-king-10285
09/07/2023, 6:08 AMchilly-king-10285
09/07/2023, 6:09 AMwebauthn
method in the Kratos configuration file: yaml selfservice: methods: webauthn: config: passwordless: false rp: display_name: SAMPLE_NAME id: <http://loginpage.com|loginpage.com> origin: <https://loginpage.auth.com:4455> enabled: true
However, this does not directly apply to configuring a webhook. For a detailed guide on how to configure a webhook in the Kratos configuration file, you should refer to the official Ory Kratos documentation.