I am implementing User Account Linking using Actions.
According to the Example account linking with Actions, I am using api.redirect.sendUserTo to trigger the User Account Link function in my backend (using Management API).
In my backend, I am linking the user who just logged in with the user who previously had the same email.
In this process, the secondary user who just logged in is deleted because it is integrated with the primary user.
At this time, when I call /continue to resume the authorization flow, the state value does not match and it fails.
If I do not perform the user link function in my backend, the state value matches normally and goes to onContinuePostLogin.
Is it because the secondary user who just logged in was deleted and the state does not match?
How should I handle this?