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
- Clone the project
- Install dependencies:
npm install
- Add your Supabase credentials to the
.env
file
- 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