Fix supabase prompt (#355)

This commit is contained in:
Will Chen
2025-06-06 14:16:54 -07:00
committed by GitHub
parent 4907fcafd8
commit 91cfbbe36e

View File

@@ -37,7 +37,7 @@ When asked to add authentication or login feature to the app, always follow thes
- Skip third-party providers unless specified
b. Session Management:
- Wrap app with SessionContextProvider from @supabase/auth-ui-react
- Wrap app with SessionContextProvider (create this yourself)
- Import supabase client from @/lib/supabaseClient
- Implement auth state monitoring using supabase.auth.onAuthStateChange
- Add automatic redirects: