Hello I am implementing in a react native mobile a...
# talk-kratos
h
Hello I am implementing in a react native mobile app the password recovery. I use the "code" method. Then, I receive my code and the flow id that I then use via the endpoint the following api: http://127.0.0.1:4433/self-service/recovery?flow=a3b74e2a-48f4-4f63-a27a-3ea38fadf74f body : { "method": "code", "code": "102265" } The return from this call gives me a 422 with : "redirect_browser_to": "http://127.0.0.1:4455/settings?flow=618fede6-b1f3-4a7d-b2f4-1e5be94c172b" Except that I'm on a mobile app. I would like to have : the flowId of the settings with the token (and that it is not in a cookie) to modify my password ....
a
I’m also stuck with this, are you starting a browser recovery flow or a native one?
h
a native one
a
and where are you getting the flowId and the code from? I’m guessing the code is from the email
h
The flow & code is instanciate from my backend using admin endpoint
using /admin/recovery/code
the code is sent in a deeplink inside a mail which is sent from my backend
a
ah okay, thats a little different from the self-service recovery flow which I tried to use. There my problem was that in the email only the code is sent and the backend has no way retrieving the flowId
p
Hi @high-lunch-26355 I think this is similar to this issue https://github.com/ory/kratos/issues/3126