Bare minimum and un-opinionated example using Remix to implement Supabase's email/password and social auth
The product is a minimal and un-opinionated example using Remix to implement Supabase’s email/password and OAuth authentication. It allows users to register and sign in using Supabase’s email/password, Google, and Facebook authentication. The product also includes logic for changing and resetting passwords, integration with all OAuth providers supported by Supabase, persistence of user data with HTTP cookies, and token refresh logic.
To install the theme, follow these steps:
Create a Supabase project. If you already have one, you can skip this step.
https://app.supabase.io/project/<your-project-id>/settings/api or clicking on “Settings” on the left sidebar, then clicking on “API” under Project settings.Clone this example and rename/copy .env.example to .env.
SUPABASE_ANON_KEY and SUPABASE_URL to the .env file.Add your Google and Facebook client ID and secret to your Supabase project. Follow the steps mentioned in Supabase’s documentation for Google and Facebook.
Install the npm dependencies by running npm i or npm install.
Run the development server with npm run dev.
The product is a minimal and un-opinionated example using Remix to implement Supabase’s authentication features. It allows users to register and sign in using Supabase’s email/password, Google, and Facebook authentication. The product also includes logic for changing and resetting passwords, integration with various OAuth providers, persistence of user data using an HTTP cookie, and token refresh logic. The installation process involves creating a Supabase project, setting up the necessary credentials, and running the development server.