In this lesson, we’ll use Supabase to login to our app using Github as the OAuth provider.
This means we don’t have to keep track of any account info, but can rely on the user accounts that Github already has.
If you want to do something similar with Firebase, take a look at the signInWithRedirect method here: https://firebase.google.com/docs/auth/web/github-auth#before_you_begin
Note: When deploying, you’ll need to update the redirect URLs in Supabase to include your deployed URL. Details can be found here https://supabase.com/docs/guides/auth/concepts/redirect-urls.
UPDATE, December 2023: The repo has been updated to fix some issues with the latest version of Supabase.
useSupabaseClient: https://supabase.nuxtjs.org/usage/composables/use-supabase-client useSupabaseUser: https://supabase.nuxtjs.org/usage/composables/use-supabase-user
18 lessons
7 lessons
7 lessons
11 lessons
18 lessons
8 lessons
17 lessons