Trying to implement native recovery flow in ory kr...
# talk-kratos
e
Trying to implement native recovery flow in ory kratos, but getting the following error
Copy code
error:
code: 422
id: "browser_location_change_required"
message: "browser location change required"
reason: "In order to complete this flow please redirect the browser to: <http://127.0.0.1:3000/settings?flow=f7e2b534-6346-4617-9210-83e4c9d63f29>"
status: "Unprocessable Entity"
redirect_browser_to: "<http://127.0.0.1:3000/settings?flow=f7e2b534-6346-4617-9210-83e4c9d63f29>"
#talk-kratos
p
There currently is no support for native recovery flows. We have a PR for this which we want to get merged soon https://github.com/ory/kratos/pull/3273
e
oh okay, i saw in the https://github.com/ory/kratos-selfservice-ui-react-native there were screens related to recovery in the app, so i thought it was possible. Any work around, or another way to handle recovery from the app (might use the browser on the phone)
can you tell me on which version it will be available?
p
You can still use the APIs with a client that runs in the browser. The main thing here is that the recovery flow has CSRF protection through a cookie and token on the response body.
you might be able to use it in a native client that has a cookiejar
e
okay i'll try that 👍