In my case, I am using NGROK, which is causing an issue. Reverting it to the default server domain fixes the problem.