supabase-community / gotrue-csharp

C# implementation of Supabase's GoTrue
https://supabase-community.github.io/gotrue-csharp/api/Supabase.Gotrue.Client.html
MIT License
39 stars 27 forks source link

InviteUserByEmail doesn't support the full API surface #81

Closed fig-nwebb closed 11 months ago

fig-nwebb commented 11 months ago

The inviteUserByEmail method in the JavaScript client supports passing in an additional options object, which includes the redirectUrl and data properties. I can see both of these being useful, such as inviting a user to a specific tenant. In my specific case, the data property will be of use as the invite would not only be inviting a user into the system, but it also establishes a relationship between the user that initiated the invite and the user that was invited.

acupofjose commented 11 months ago

Sure thing!

acupofjose commented 11 months ago

This is available in 4.2.4 - and will be included in the next minor release for supabase-csharp. Thanks for the heads up @fig-nwebb!