We find ourselves in a situation where our Invite email tokens are expiring for customers frequently and causing a huge headache on all sides. Our invitation flow is done/commissioned when we collect payment which is typically handled by different individuals than those using our product.
The result is that often, our invites get sent out and ignored until later when the teams actually want to use the product, and the result is the invitation token has expired.
What we want: We want to create a self service flow for a given invitee to have the ability to retrigger the invite email. We are looking for recommendations or best way to do this.
The
resend
resend
method does handle invite email types. Every other solution we contemplate, would need to call
inviteUserByEmail
inviteUserByEmail
which is extremely risky to call on an unauthorized flow.
Are there ways to do this/what is recommended in this scenario.
Supabase gives you the tools, documentation, and community that makes managing databases, authentication, and backend infrastructure a lot less overwhelming.