google auth - supabase-ui is a must to get user data?
Stack: Next.js 12
After I use a google auth provider to sign in, I can't find any way to get the user data. I've tried: supabase.auth.currentSession user
Is the problem with next.js, something about ssr and not csr? I've tried to use csr but maybe i did it wrong.
It seems like supabase/ui has an "Auth" obj which you can use like this: const { user } = Auth.useUser() Is this the only way? I don't wanna install a whole new UI library just for that
Supabase gives you the tools, documentation, and community that makes managing databases, authentication, and backend infrastructure a lot less overwhelming.