B4J Tutorial [BANano] SupaBase (FireBase Alternative) User SignUp & SignIn Process

Hi

This is a continuation of this thread.


In this tutorial, we look at user sign up and the sign in process using email.
 

Mashiane

Expert
Licensed User
Longtime User
Sign Up a user using Email and Password

When done, this sends an email to the registered email address using Supabase email functionality. You can also use your own SMTP.

B4X:
Dim supabase As SDUISupaBase
    supabase.Initialize(Me, "supabase", my_url, my_key)
    '
    Dim bSignUp As Boolean = BANano.Await(supabase.User_SignUp("xxxx@gmail.com", "xxxx"))
    If bSignUp = False Then
        Log(supabase.ErrorMessage)
    End If

1671291038748.png


You can also define your own template for such an email via Supabase.

1671291078593.png
 
Top