lively-scientist-17848
10/25/2024, 7:37 AMbrief-egg-61061
10/25/2024, 7:37 AMbrief-egg-61061
10/25/2024, 7:37 AMtransient_payload
to a registration flow using OIDC (OpenID Connect) as the sign-in method, you can include it in the request body when updating the registration flow. Here's how you can do it: 1. When updating the registration flow, include the transient_payload
field in your request body along with other required fields for the OIDC method. 2. The transient_payload
should be an object containing any data you want to pass along to webhooks without being persisted by Ory. Here's an example of how your request body might look: json { "method": "oidc", "provider": "your_oidc_provider", "traits": { "email": "<mailto:user@example.com|user@example.com>" }, "transient_payload": { "custom_data": "your custom data here" } }
The transient_payload
field is described in the API reference as "Transient data to pass along to any webhooks" [Ory API Reference](https://www.ory.sh/docs/reference/api). It's an optional field that can be included in various registration flow methods, including the OIDC method. Remember that the exact structure of your request may vary depending on your specific OIDC provider and identity schema. The transient_payload
is flexible and can contain any data you need to pass along to your webhooks. For more information on configuring and using webhooks with Ory, you can refer to the [Webhooks documentation](https://www.ory.sh/docs/guides/integrate-with-ory-cloud-through-webhooks).