Hi For verification flow I am passing all the 3 va...
# talk-kratos
b
Hi For verification flow I am passing all the 3 values required for it : 1. Email 2. CSRF Token 3. Method even after passing these 3 values I am getting
Copy code
{
  "0": {
    "id": 4010006,
    "text": "Could not find a strategy to verify your account with. Did you fill out the form correctly?",
    "type": "error"
  }
}
the above error. I also cross verified my form request with the ory kratos playground and it was similar to it. My config’s are
Copy code
verification:
      enabled: true
      ui_url: <http://127.0.0.1:4455/.factly/kavach/web/auth/verification>
b
Could you post the actual payload? What value are you passing in
method
?
p
Check on new version of kratos in kratos.yaml do you have ->
methods:
link:
enabled: true
b
@bland-eye-99092 method value is
link
@polite-toothbrush-42338 I have that enabled
b
How are you creating the verification flow?
b
I have added my apps verification page URL in ui_url for verification flow in kratos config. So whenever I go to my verification page I get a flow_id then I trigger a
verification self service flow
by pointing to the
KRATOS_PUBLIC_URL//self-service/verification/flows?id=flow_id
then It redirects to my verification page and I get ui_nodes which I use it.
@bland-eye-99092 and @polite-toothbrush-42338 thanks for your replies. I updated my config to use codes for verification and made corresponding changes on the UI too.
b
@polite-toothbrush-42338 I am getting same error although i have below configuration
Copy code
methods:
    password:
      enabled: true
    link:
      enabled: true
      config:
        # Defines how long a recovery link is valid for (default 1h)
        lifespan: 25m
Got it man!! after update need to specify in flows also 😢
Copy code
flows:
    verification:
      use: code # Defines which method is used, one of 'code' or 'link'.
      enabled: true