Hiya, this might be a noob question so please bear...
# ory-selfhosting
q
Hiya, this might be a noob question so please bear with me In the frontend code examples for account recovery I don't see any explicit CSRF handling. So I'm assuming it's 'magically' handled via cookies? I am trying to replicate this implementation but when I try and do the
getRecoveryFlow
request I get a big fat CSRF related error 😞
I was using the redirects wrong, user errors <.<
g
Hi Can you tell me how did you solve this. I am getting this error on each page
q
Heya @green-jewelry-10349 sorry for the late reply. What I did wrong is that I first need to send the user to kratos and let Kratos redirect to my frontend instead
Copy code
recovery:
      enabled: true
      ui_url: <http://127.0.0.1:13001/auth/recovery>
      use: code
g
I did the same. anyways thanks 😀