Hi @phil1,
Thank you for your question.
The Bubble User table shown in the Xero plugin setup documentation is mainly used as the default/simple Bubble storage example for the OAuth token values. The Xero plugin itself is not strictly limited to Bubble’s User data type, as the main Xero actions return token values such as Access Token, Refresh Token, ID Token, and expiry data, and the API calls accept the Authorization value and Xero-tenant-id dynamically.
So, in theory, you can store those Xero token values in a Supabase table instead, then retrieve them when running the Xero workflows.
At a high level, the logic would be:
- Connect to Xero and receive the OAuth token values.
- Save those token values in Supabase.
- Retrieve the relevant token values when a Xero workflow needs to run.
- Refresh and update the tokens when required.
That said, this type of setup would be considered a custom implementation. While it should be technically possible in theory, in practice you may run into unexpected behavior, edge cases, or interactions between the Xero plugin, Supabase plugin, Bubble workflows, privacy/RLS rules, backend workflows, and token refresh logic.
For this reason, please note that our support team can provide only general guidance on the plugin behavior and available actions. We would not be able to design, build, debug, or guarantee a complete custom architecture/workflow implementation for your specific app. The actual workflow logic, database structure, RLS configuration, token handling, and testing would need to be handled by the app owner/developer.
At the moment, we do not have dedicated documentation for a Xero + Supabase setup. The available documentation should be treated as separate references for each plugin, and any combined implementation would need to be tested on your side.
Our recommendation would be to first subscribe to both plugins and test this use case in a dedicated, isolated development environment. Please confirm there that the OAuth flow, Supabase storage, token retrieval, refresh logic, and Xero API calls work exactly as expected before making any larger purchase decisions.
Only once you have checked that the setup can be implemented successfully for your use case would we recommend purchasing lifetime licenses or pushing this type of update to production.
Best Regards,
Egor Smorodinov,
Zeroqode Support Team
Browse all Zeroqode Plugins for Bubble
