Hello guys, we are facing a weird issue with SSO from api flow, during the first registration / login flow we are not receiving any session but a 404 instead it seems that kratos is not able to find the session associated to init_code and return_to_code, but after the second flow everything is working properly.
Do you have any suggestion / idea or did you encoutered the same issue?
I can provide some logs if required.