ory / kratos

The most scalable and customizable identity server on the market. Replace your Homegrown, Auth0, Okta, Firebase with better UX and DX. Has all the tablestakes: Passkeys, Social Sign In, Multi-Factor Auth, SMS, SAML, TOTP, and more. Written in Go, cloud native, headless, API-first. Available as a service on Ory Network and for self-hosters.
https://www.ory.sh/?utm_source=github&utm_medium=banner&utm_campaign=kratos
Apache License 2.0
11.33k stars 963 forks source link

Since 2 step Registration - I receive error status 400 for registrationFlow even with correct data provided in response #4178

Closed FilipObrCeit closed 2 days ago

FilipObrCeit commented 1 month ago

Preflight checklist

Ory Network Project

No response

Describe the bug

Hello, we are encountering new issue and couldnt find suitable sollution or explanation so was hoping to get some hint here. Since we implemented 2 step registration process we started to receive error after updating Registration flow with traits. From this request we receive correct data in response but status says 400. We double checked everything today and couldnt find a problem. We are using native sollution (not web) and problem was not present before we updated to 2 step registration.

Reproducing the bug

1.) Initialize registration flow, render nodes 2.) Fill up email and optionally also First name and/or Last name 3.) Update registration flow with provided info 4.) Now I got second step nodes rendered correctly and can proceed with a process but request returns incorrectly status 400

Example of URL used: https://100.100.200.120/self-service/registration?flow=a3561461-3349-41cc-a291-8288dcc0bd87

Relevant log output

No response

Relevant configuration

No response

Version

1.2.0

On which operating system are you observing this issue?

Windows

In which environment are you deploying?

Docker Compose

Additional Context

Status 400 is same for correcttly or incorrectly filled data

alnr commented 2 days ago

Known issue, probably wontfix.