I’m wondering if there is any way of reinitializing the client with different credentials programmatically. Lets say I have my Supabase plugin set up, and I’d like to replace the wwLib.wwPlugins.supabaseAuth.publicInstance, with an another Supabase instance, lets say staging. Would it be possible, to do this via some WeWeb exposed instance of the sdk? Would createClient() be available? @Alexis might know the answer?
It’s not possible atm, but I’m pretty confident you will be able to develop your own customised supabase plugin in the coming months, it should allow you to fork our plugin and do the adjustment you need
2 Likes