Kotlin: Send an email invite link

Sends an invite link to the user's email address.

Parameters

Examples

Invite a user

supabase.auth.admin.inviteUserByEmail(
    email = "example@email.com",
    //optional:
    redirectTo = "https://example.com/redirect",
    data = buildJsonObject \{
        put("custom", "value")
    \}
)