Function ory_client::apis::v0alpha2_api::initialize_self_service_verification_flow_for_browsers
source · [−]pub async fn initialize_self_service_verification_flow_for_browsers(
configuration: &Configuration,
return_to: Option<&str>
) -> Result<SelfServiceVerificationFlow, Error<InitializeSelfServiceVerificationFlowForBrowsersError>>
Expand description
This endpoint initializes a browser-based account verification flow. Once initialized, the browser will be redirected to selfservice.flows.verification.ui_url
with the flow ID set as the query parameter ?flow=
. If this endpoint is called via an AJAX request, the response contains the recovery flow without any redirects. This endpoint is NOT INTENDED for API clients and only works with browsers (Chrome, Firefox, …). More information can be found at Ory Kratos Email and Phone Verification Documentation.