Hi,
Using REST API will not works very well as the plugin variable will not be updated and weweb cookies not set to access private page for example
What could eventually be done is perform a javascript action using the supabase instance yourself exposed in wwLib.wwPlugins.supabaseAuth.publicInstance, and by applying the @justifi code snipped.
I’m not sure but it could works.
We added it to the roadmap, we will improve this plugin and add the signIn method so it will become a native feature.