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



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

 
Cookies are required to use this site. You must accept them to continue using the site. Learn more…