When I start an OIDC flow (via login), Kratos push...
# ory-selfhosting
r
When I start an OIDC flow (via login), Kratos pushes me to a registration flow when no identity exists with the identifier (email). When I inspect the flow,
.active=oidc
— but also
.state=choose_method
— Not entirely sure what I am supposed to set there to complete it. I tried all kinds of variations when I submit the form, but none work?
When I try to finish the registration, I tried payloads like:
Copy code
{
  "csrf_token": "...",
  "method": "oidc",
  "traits": { ... },
}
Etc.. When I include the provider again in this, I am asked to restart the flow (422 error). When I omit the provider, etc., the error is
"could not find a strategy to sign up with"
I guess I don’t understand how the flow works. When I submit and follow the redirect to the provider again, then it works.