Supabase.js (Bubble plugin)
  • Setup
    • Basic Setup
      • General notes on Bubble setup
    • Supabase Auth
      • Initializing Auth
      • How to: Login
      • How to: Sign Up
      • How to: MFA
      • Identity linking
    • Supabase Data
      • How to: Fetch Data
      • Data Realtime V2 (beta)
      • Foreign Table
      • How to: Create a Thing
      • How to: Update a thing
      • How to: Delete a thing
      • Data Realtime
      • Optimization Tips
      • Schema Validation
      • Create XML Sitemap
    • Supabase Storage
    • Supabase Realtime
    • Supabase Edge Functions
      • Basic Edge Function
      • Bubble Setup
Powered by GitBook
On this page
  • Signup with Email
  • Signup with Social
  1. Setup
  2. Supabase Auth

How to: Sign Up

PreviousHow to: LoginNextHow to: MFA

Last updated 1 year ago

Signup with Email

Let's say you'd like to allow user to signup via email. Fill out the Email and Password section, and add the Captcha Token if you're using the Cloudflare Plugin.

Once the action successfully run the user have been authenticated and you should have access to all the Data. Since there are events for almost everything, you should always wait for these events to fire to make sure that the action you're trying to run has actually ran successfully.

If there's any error also at any point Supabase Auth let you know as soon as possible so always setup an error handling action within the page.

Signup with Social

Once you've done that, you can use the action shown above.

Scopes needs to match with the Social Login provider, and if you have any sensitive scope, you need to have your project approved, before making the request.

Once redirected and the authentication was successful the plugin will notify you via the related event.

The Element returns the provider at all times, like the name of the Social provider, Email or Phone.

Now let's login with Social Login. In this example we use Google as it's the most used. First make sure you set everything up within Supabase

https://supabase.com/docs/guides/auth/social-login