Authentication
Ignitra uses Supabase Auth with multiple sign-in methods.
Supported Methods
- Email + Password
- Magic Link (passwordless email)
- Google OAuth
- GitHub OAuth
Setting Up Google OAuth
- Go to Google Cloud Console → APIs & Services → Credentials
- Create an OAuth 2.0 Client ID
- Set authorized redirect URI:
https://your-supabase-url.supabase.co/auth/v1/callback - Copy the Client ID and Client Secret
- In Supabase Dashboard → Authentication → Providers → Google
- Enable Google and paste the credentials
Setting Up GitHub OAuth
- Go to GitHub → Settings → Developer Settings → OAuth Apps
- Create a new OAuth app
- Set authorization callback URL:
https://your-supabase-url.supabase.co/auth/v1/callback - Copy the Client ID and Client Secret
- In Supabase Dashboard → Authentication → Providers → GitHub
- Enable GitHub and paste the credentials
Row Level Security (RLS)
Every database table has RLS policies enabled. Users can only access their own data. This is enforced at the database level — not just application code — making it impossible to access another user's data even if there's a bug in your API routes.