How can I reset password with custom change password form?

  1. There is React native app
  2. I need to implement reset password flow inside my application

Step 1: I send reset password link to email
Step 2: When user clicks the link on email my application intercepts this redirect via deep link and open the change password form inside mobile application. From this link I have only “ticket” param in url. How can I change password if in this link doesn’t have userId ?