Hello everyone, I have successfully implemented th...
# talk-kratos
b
Hello everyone, I have successfully implemented the recovery flow (for SPA), but I am currently looking for a possibility to extract the flow id and the token via API that were send to the user with the recovery mail, is this somehow possible?
p
Hi @blue-state-12403 why do you want to extract the flow id and token? I suppose it is possible by looking up the user in the Kratos database.
b
I have an existing userbase that has to be imported and I do not want to "scare" my users by sending out recovery mails
so the plan is to import them and automate the recovery process before we switch the auth provider
Currently my plan includes spinning up a mailslurper where the mails get "stuck", fetch the sqlite and get it from there, but this is just another external dependency
s
You can provide email templates, so you can state in there why it is needed Other than that, you are probably looking for https://github.com/ory/kratos/issues/1030
b
or a webhook 🤔