pub async fn create_browser_verification_flow(
    configuration: &Configuration,
    return_to: Option<&str>
) -> Result<VerificationFlow, Error<CreateBrowserVerificationFlowError>>
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.