Hello everyone, I see some people struggling with using WeWeb and Supabase with a Staging/Production DB separated, as now it requires to always switch credentials. I’m writing this post mostly to:
- Sort of see how many people are building with Supabase are affected by this issue - eg. if it’s worth tackling.
- Ask the WeWeb team - most probably @Alexis - whether there is a fix in sight - eg. again if it’s worth tackling, or if the issue is gonna be fixed soon and I should direct my time/effort elsewhere. If it’s planned in a month, then there is no need to make a solution for it.
I’m considering doing some exploration and offer a patch for this issue via a Chrome extension that will attempt to modify the requests with the URL and API keys. I’m not still sure about Auth, as apparently WeWeb handles that on their side, but at least the plain Supabase part of things could be doable.