Resolve Xero OAuth Errors
Resolve common Xero OAuth state, redirect, credential, and permission errors.

Xero OAuth errors are usually caused by session mismatch, redirect mismatch, missing server credentials, or access being denied in Xero.
Try the Connect Flow Again
- Open Company Settings.
- Select Integrations.
- Start Connect on the Xero card.
- Stay in the same browser session.
- Approve the requested Xero access.
- Confirm Sentrik POS shows Connected after redirect.
Technical Checks
Ask a technical administrator to confirm:
- XERO_CLIENT_ID
- XERO_CLIENT_SECRET
- XERO_REDIRECT_URL
- The callback route
/company/integrations/accounting/xero/callback
Permission Checks
Confirm the Xero user approving access can authorize the app for the intended organization.
Tips
If the browser is signed in to multiple Xero accounts, sign out and sign back in to the correct account before reconnecting.