useSession has an empty user object {}
When using the useSession hook, session.data contains
{ user: {}, expires: '2023-06-30T20:30:42.181Z' }
this is my auth options:
Aland•352d ago
To be honest i forgot how you exactly add data to the session, but you can check these auth options:
https://github.com/AlandSleman/t3-twitter-clone/blob/main/src/pages/api/auth/%5B...nextauth%5D.ts
I think if you declare the module you'll get typesafety just like line 29
21KMembers
View on DiscordWant results from more Discord servers?
More PostsTypeSafe external API ?I am currently communicating with an external API and after falling in love with TRPC, I would like Want to request only half of the audio file but not workingi request an audio file from my server and stream it to the browser .. on the browser i make a requeHow is realtime DB syncing accomplished without Firestore/Supabase?Hi! I've been working with Firestore for a long time now and gotten very used to the realtime db synDrag and drop library recommendation?Whats the community-favorite option right now? I saw that react-beautiful-dnd isn't being maintainedtRPC invalid_type error with ClerkHi, I have this weird issue I've been trying to resolve for a while now.
This is the error in browsSave selected option on dropdownHii, I have a dropdown list that is being made from an array and a Save button. When I click the savEnd-to-end testing tools, SuggestionsHey everyone! 😄
I hope you're all doing well. 👋
I have a couple of questions for you, and I'd reN Nested RelationsHi im having trouble dealing with nested includes. I have a Comment and reply structure and replies