Invite a user with supabase plugin

Hi,
I am doing a customer portal where an administrator can invite new members to an account.
Supabase offer a invitation email template. How do I do this with weweb and supabase?

I tried:

  • supabase signup → but the authenticated user changes and is a mess
  • look for the invite option in weweb supabase plugin, doesn’t exist (I don’t think is the login with magic link)
  • Looked for a supabase API documentation but there is only js documentation for invitations.

thanks

Sending an invite should be done on the backend, here, Supabase.

If I were you, I’d find a way to add an automation on Supabase, which, when triggered (through an endpoint) would send an invite email. That endpoint can then be used by the WeWeb app.

If that’s too complex, you could still use the WeWeb email plugin for your MVP.

Okey! thank you @Quentin :slight_smile: