QuickBooks Online UK connectivity
Authenticate against QuickBooks Online, store the refresh token securely, test the connection, read customers, and create a test customer.
OAuth flow
- Set the required `QBO_*` values in `.env.local`.
- Use the button below to start Intuit OAuth.
- The callback stores encrypted tokens in `.data/qbo-tokens.enc`.
- Run `npm run qbo:test` to verify connectivity.
Required env:
QBO_CLIENT_ID=
QBO_CLIENT_SECRET=
QBO_REDIRECT_URI=http://localhost:3000/api/qbo/oauth/callback
QBO_TOKEN_ENCRYPTION_KEY=
Test command:
npm run qbo:test
Create a test customer:
npm run qbo:test -- --create-test-customer