Supabase OAuth
Lowcoder App users can authenticate their app users using the Supabase OAuth feature. It can be accessed through "supabase.auth".
Supabase Auth works with many popular Auth methods, including Social and Phone Auth using third-party providers and the list can be found https://supabase.com/docs/guides/auth#providers .
In order to Sign up a User through OAuth, we can use the following code :
We have to set the "Provider" that we need to use for Sign up. But, before running this query , We need to set the details related to OAuth on Supabase and on the Provider side, in this case Google. For setting up OAuth using Google, please follow the instructions written on this link : https://supabase.com/docs/guides/auth/social-login/auth-google
After successful sign in through OAuth, we can store the OAuth Provider token using following code :
In the following Demo, we have shown how to setup Google OAuth using Supabase SDK :
Last updated