svelte-supabase-oauth-example Svelte Themes

Svelte Supabase Oauth Example

This is an example project demonstrating Google OAuth login using Svelte and Supabase.

Svelte + Supabase OAuth Example

This is an example project demonstrating Google OAuth login using Svelte and Supabase.

Features

  • Google OAuth login/logout
  • Display user information
  • User authentication state management

Installation

  1. Clone the project
  2. Install dependencies:
    npm install
    
  3. Add your Supabase credentials to the .env file
  4. Start the development server:
    npm run dev
    

Tech Stack

  • SvelteKit
  • Supabase
  • Tailwind CSS (for styling)

Notes

  • Ensure that the Google OAuth provider is correctly configured in the Supabase console
  • Set the correct redirect URL for the production environment

Top categories

Loading Svelte Themes