Join Discord
Powered by
What is the best way to do authentication, with co...
# off-topic
b
barry
03/30/2022, 8:16 PM
What is the best way to do authentication, with correct re-rendering in NextJs with Supabase?
barry
03/30/2022, 8:17 PM
My mind says to have a context/state management system's provider around the app, and attach the supabase
.auth.user()
return to a state?
barry
03/30/2022, 8:17 PM
But is there any good documentation on doing it correctly / the best way?
g
garyaustin
03/30/2022, 11:14 PM
This seems to be where many are ending up with Next.js/auth process. I don't use NextJs though so just guessing what you are looking for.
https://github.com/supabase-community/supabase-auth-helpers/blob/next/src/nextjs/README.md
Previous
Next