Hi, I think I've identified an issue in the Python...
# talk-kratos
b
Hi, I think I've identified an issue in the Python SDK: When creating a native login flow, the
return_session_token_exchange_code
is type-enforced to boolean, but when urllib encodes the parameter, the boolean value keep their title casing (
True
). The backend only accepts lowercase values so this silently fails (no session exchange code is returned, but no error is raised). It looks to me like an easy fix would be to call
.lower()
or equivalent in the backend, a change I could contribute but I'm not sure if that's considered proper.
m
Hello @bulky-thailand-18706 this seems like a valid bug, feel free to create an issue/PR!