https://www.ory.sh/ logo
f

flat-rose-25983

03/28/2022, 8:01 AM
Hey folks , How I do check if the user clicked on expired verification link ?
d

damp-sunset-69236

03/28/2022, 8:04 AM
Hello.
Copy code
API flows expect application/json to be sent in the body and respond with HTTP 200 and a application/json body with the created identity success - if the session hook is configured the session and session_token will also be included; HTTP 410 if the original flow expired with the appropriate error messages set and optionally a use_flow_id parameter in the body; HTTP 400 on form validation errors.
https://www.ory.sh/docs/kratos/reference/api#operation/submitSelfServiceRegistrationFlow You’ll get a response with HTTP 410 status code in that case
f

flat-rose-25983

03/28/2022, 8:10 AM
Hi Andrew , I have setup my application in a way that user have to verify their account after creation in order to login.I struggled to set a session on verification link valid