Hi @asaf.shochet, and anyone else looking for this,
If you are still facing this issue, I had a similar problem, and essentially the problem is that /continue only support URL redirection, meaning, we cannot make an ajax call. It can only be triggered by a browser redirect (window.location.href = …/continue…).
See CORS Error when trying to POST to /continue
and /continue returning 401 - how to catch that error to redirect the user somewhere else
Cheers.