Xero - beautiful accounting software

Xero Developer Help Center

Xero Developer Community

Community > API Authentication >

Redirect URI when Deploying Application

Started by Charles Matte -   in API Authentication

I am building a small private application for our three-man construction business. I am currently working on a Xero integration. Using http://localhost as a redirect URI works well in development but can I change it to a public domain after deployment? I have tried doing so but it doesn't seem to work as I keep getting the following 500 error:

Error: unauthorized_client : Invalid redirect_uri

Any recommendations on how to deal with app deployment?
If you change the redirect url in your authorization code you also need to make sure you update this in the configuration screen of your app in the My Apps screen in the Xero Developer Center.


Sally C (Community Manager)