few-oyster-74399
07/11/2024, 9:36 AMchilly-king-10285
07/11/2024, 9:36 AMchilly-king-10285
07/11/2024, 9:36 AMyaml selfservice: default_browser_return_url: <https://end-up-here-per-default/> flows: registration: after: # overrides url.default_browser_return_url default_browser_return_url: <https://this-is-overridden-by-password/> password: # overrides selfservice.registration.after.default_browser_return_url default_browser_return_url: <https://end-up-here-after-registration-with-password/>
In this configuration, default_browser_return_url
is the URL where the user will be redirected after the registration process. You can set this URL to be the referer URL if you want to redirect the user back to the page they came from. For more details, please refer to the [Ory documentation](https://www.ory.sh/docs/kratos/concepts/browser-redirect-flow-completion#post-registration-redirection).few-oyster-74399
07/11/2024, 9:37 AMchilly-king-10285
07/11/2024, 9:37 AMchilly-king-10285
07/11/2024, 9:37 AMtransient_payload
field to pass additional data during the registration process. The transient_payload
is an object that is used to pass transient data along to any webhooks. This could potentially be used to pass the referer or any other additional data you need during the registration process. Here is an example of how it's used in the registration flow: json { "traits": { "description": "The identity's traits", "type": "object" }, "transient_payload": { "description": "Transient data to pass along to any webhooks", "type": "object" } }
In this example, transient_payload
is an object that can contain any data you want to pass along to webhooks during the registration process. Please note that the actual usage of transient_payload
would depend on how you have configured your webhooks and what data they expect to receive. For more details, please refer to the [Ory API Reference](https://www.ory.sh/docs/reference/api).