What problem does it solve?
This skill automates the end-to-end setup and ongoing maintenance of a Xero OAuth 2.0 connection for the Australian Tax Optimizer application, ensuring secure credentials, reliable authentication flows, and synchronized environments.
Core Features & Use Cases
- Configure and validate Xero app registration in the Developer Portal, including redirect URIs and required scopes.
- Synchronize environment variables across local and production deployments (XERO_CLIENT_ID, XERO_CLIENT_SECRET, NEXT_PUBLIC_BASE_URL).
- Manage token lifecycles, verify scopes, and diagnose common connection issues during onboarding and maintenance.
- Use Case: When onboarding a new environment or rotating credentials, run this skill to establish a working Xero connection and seed the xero_connections table.
Quick Start
Configure the Xero app in the Developer Portal with the required redirect URIs and scopes. Update local and production environment variables to include XERO_CLIENT_ID, XERO_CLIENT_SECRET, and NEXT_PUBLIC_BASE_URL. From the dashboard, initiate the Xero connection to seed the xero_connections table and verify the OAuth flow.