You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The Kratos Go client (version 1.1.0) fails to correctly unmarshal the JSON response into the LoginFlow object.
This happens because it defines the state field as a required property, which is not provided within the response from the Kratos instance (version 1.1.0)
An easy fix for it would be to remove the state field as a required property, like on this fork.
Reproducing the bug
When initiating a native login flow using something like:
Preflight checklist
Ory Network Project
No response
Describe the bug
The Kratos Go client (version 1.1.0) fails to correctly unmarshal the JSON response into the LoginFlow object.
This happens because it defines the state field as a required property, which is not provided within the response from the Kratos instance (version 1.1.0)
An easy fix for it would be to remove the state field as a required property, like on this fork.
Reproducing the bug
When initiating a native login flow using something like:
the error occurs.
Inspecting the response using curl to initiate the flow:
shows that there is no state field being returned at this stage of the flow:
Relevant log output
2024/03/28 20:21:00 stdout: no value given for required property state
Relevant configuration
No response
Version
1.1.0
On which operating system are you observing this issue?
macOS
In which environment are you deploying?
Docker Compose
Additional Context
No response
The text was updated successfully, but these errors were encountered: