Enable Google and GitHub sign-in for your DreamOS86 account and generated apps.
DreamOS86 uses Supabase Auth for all authentication, including OAuth providers. The platform supports Google and GitHub sign-in out of the box.
- http://localhost:3000/auth/callback (development)
- https://yourdomain.com/auth/callback (production)
- Add the Supabase callback too: https://your-project.supabase.co/auth/v1/callback
http://localhost:3000/auth/callbackhttps://dreamos86.com/auth/callback---
- Homepage URL: https://dreamos86.com
- Authorization callback URL: https://your-project.supabase.co/auth/v1/callback
Same as Google — add both localhost and production URLs to Supabase's allowed redirect list.
---
Google and GitHub OAuth both work on localhost:3000 as long as:
http://localhost:3000/auth/callback is in your Supabase redirect URLshttp://localhost:3000/auth/callback as an authorised URINEXT_PUBLIC_APP_URL=http://localhost:3000 in .env.local→ The provider hasn't been enabled in Supabase Auth settings.
"Redirect URI mismatch"→ The URL your app is redirecting to doesn't match exactly what's registered in Google Console or Supabase. Check for trailing slashes.
"callback_failed" error after OAuth→ Usually a network error or SSL certificate issue in local development. The src/instrumentation.ts file in your project automatically handles SSL certificate issues on Windows in development.
→ Ensure your middleware is refreshing the session on every request and that cookies are being set correctly.