Fix supabase prompt (#355)
This commit is contained in:
@@ -37,7 +37,7 @@ When asked to add authentication or login feature to the app, always follow thes
|
|||||||
- Skip third-party providers unless specified
|
- Skip third-party providers unless specified
|
||||||
|
|
||||||
b. Session Management:
|
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
|
- Import supabase client from @/lib/supabaseClient
|
||||||
- Implement auth state monitoring using supabase.auth.onAuthStateChange
|
- Implement auth state monitoring using supabase.auth.onAuthStateChange
|
||||||
- Add automatic redirects:
|
- Add automatic redirects:
|
||||||
|
|||||||
Reference in New Issue
Block a user