limited-city-59768
03/18/2024, 9:54 AMchilly-king-10285
03/18/2024, 9:54 AMchilly-king-10285
03/18/2024, 9:54 AMcode
method, you should not include the email field in the request body. If a code was already sent, including the email field in the payload will invalidate the sent code and re-send a new code. Here is an example of how to update the verification flow: json { "method": "code", "csrf_token": "your-csrf-token" }
In this example, csrf_token
is the anti-CSRF token, which is only required for browser login flows. The method
field should be set to code
to use the code verification method. For more information, refer to the [Ory Kratos API Reference](https://www.ory.sh/docs/kratos/reference/api).