We are facing an issue with the above-mentioned error when we try to run the app on a production server to test our connection with Xero. We have already changed the environment to production and made the website secure as well. When we click on log in, the request URL that is sent to Xero is:
Here you can see that the redirect uri is http and not https. Please let us know if there is anything else we need to do to have the application production-ready.
Hi,
Good day! I hope that you are doing well.
We are facing an issue with the above-mentioned error when we try to run the app on a production server to test our connection with Xero. We have already changed the environment to production and made the website secure as well. When we click on log in, the request URL that is sent to Xero is:
https://login.xero.com/identity/connect/authorize?response_type=code&client_id=686E7FE4D3354162B05FDE15FC01EEAC&redirect_uri=http%3A%2F%2F7bb2-123-231-87-45.ngrok.io%2Fcallback&scope=offline_access+openid+profile+email+accounting.transactions+accounting.transactions.read+accounting.reports.read+accounting.journals.read+accounting.settings+accounting.settings.read+accounting.contacts+accounting.contacts.read+accounting.attachments+accounting.attachments.read+assets+projects+files+payroll.employees+payroll.payruns+payroll.payslip+payroll.timesheets+payroll.settings&state=A4nQkyw3zwdxcmInuPl3SAhZAQFsE4
Here you can see that the redirect uri is http and not https. Please let us know if there is anything else we need to do to have the application production-ready.
Thanks, Shubham