narrow-battery-46074
02/29/2024, 10:19 PMmessage: "the request was rejected to protect you from Cross-Site-Request-Forgery"
reason: "Please retry the flow and optionally clear your cookies. The request was rejected to protect you from Cross-Site-Request-Forgery (CSRF) which could cause account takeover, leaking personal information, and other serious security issues."
After investigating, we. found out that the ory_session token was still set in the cookies when creating the login flow in the second use case (We are awaiting the logout flow update to finish before creating it).
The issue disappears if we timeout the login flow creation but this is not really something we want to do.
Has anyone encountered a similar issue ? What were your solutions to this ?