Let your users connect their Bexio account once, then call the Bexio API whenever you need to: in a request, a cron job or a queue worker. @soulcode/bexio-oauth runs the OAuth flow, keeps the tokens encrypted in your Postgres database and refreshes them for you. Its tables live in their own schema behind dedicated, least-privilege database roles, so the credentials your app holds can't read anything else.
npm install @soulcode/bexio-oauth pg
- Package README: install, quickstart, API at a glance.
- Integration guide: concepts, API, database setup and architecture examples, security model.
- Examples: working apps with Better Auth and Supabase Auth.
- Development guide: repo layout, tests, CI/CD.
Contributions are welcome: bug reports, docs fixes, new examples and code alike. For anything bigger than a small fix, please open an issue first so we can agree on the approach. Setup, conventions and the PR flow are in CONTRIBUTING.md.
Found a vulnerability? Please report it privately, not as a public issue. See the security policy.