Hello,
I’m facing a critical issue in my app. When signing up as a new user, adding payment, and authorizing with Xero, after authorization, it should redirect to the home page. However, after authorization, it’s currently redirecting to the register page again instead of the home page.
I tested this on my local environment, and everything works as expected, but in staging or production, it's not working properly. I’m not sure why it’s redirecting to the wrong page. I’m using redirect_uri, and in that, I’ve set the auth/callback file. The same configuration works fine locally, but it’s not working in the other environments.
Could you help me identify the issue?
Thank you.