Heyo, I'm having issues with the rust SDK; calling...
# ory-network
i
Heyo, I'm having issues with the rust SDK; calling
create_browser_login_flow
errors out with
error in serde: expected value at line 1 column 1
.
so clearing cookies fixes this, but now a new error:
error following redirect for url (*): too many redirects
for context, I'm trying to create my own UI and following the docs here for that: https://www.ory.sh/docs/kratos/bring-your-own-ui/custom-ui-basic-integration#create-login-flow
seems like the issue is its treating this as a browser request and not an ajax one, so it returns redirects instead of json? i don't see a way (or I'm being silly?) to tell it to return JSON and not a redirect.
aah, found a solution. can just pass my own reqwest client to the config and set
Accept
header to
application/json
there.
but now, a new issue: `error in serde: missing field
nodetype
at line 1 column 676`
tracking this through on and off between work things, seems like this is a known issue with openapi generator https://github.com/ory/sdk/issues/325 https://github.com/OpenAPITools/openapi-generator/issues/13257