Session not complete on expo but it is on NextJS

Hey everyone, I'm trying to build a mobile app using t3-turbo-with-prisma but it seems like three things aren't being found in the session that do work on the NextJS app that uses same database and auth. Specifically username (string), onboarded and admin (booleans) I'm also getting the following when trying to signOut only on expo again:
ERROR << mutation #2 auth.signOut {"elapsedMs": 158, "input": undefined, "result": [TRPCClientError:
Invalid `prisma.session.delete()` invocation:


An operation failed because it depends on one or more records that were required but not found. Record to delete does not exist.]}
ERROR << mutation #2 auth.signOut {"elapsedMs": 158, "input": undefined, "result": [TRPCClientError:
Invalid `prisma.session.delete()` invocation:


An operation failed because it depends on one or more records that were required but not found. Record to delete does not exist.]}
Which i personally believe to be about those records not being found and its just returning an empty string for username and false for the booleans. so its likely to be about username Does anyone have experience with this? If anyone is kind enough to check out this issue in specifics then see: https://github.com/outfits-bio/app specifically the apps/expo and packages/auth i think. Have been trying to solve this for days but i just cant find it hence the issue. Attachment: user object on expo with my own account dw bout information
GitHub
GitHub - outfits-bio/app: The official repo for outfits.bio, your w...
The official repo for outfits.bio, your wardrobe in the cloud, share and inspire your followers through a simple link for in your bio - outfits-bio/app
No description
3 Replies
Jeremy
Jeremy3mo ago
If anyone knows it would mean the world to me
lanc3
lanc33mo ago
Would probably need the nextjs logs, signing out on t3 turbo does it in a unique way compared to the web with a specific tRPC procedure signOut https://github.com/t3-oss/create-t3-turbo/blob/main/packages/api/src/router/auth.ts
GitHub
create-t3-turbo/packages/api/src/router/auth.ts at main · t3-oss/cr...
Clean and simple starter repo using the T3 Stack along with Expo React Native - t3-oss/create-t3-turbo
Jeremy
Jeremy3mo ago
I know this, i think the signOut is not the issue. Possibly the callbacks? But that wouldn’t explain why the other stuff is visible. Maybe it’s just discord oAuth and i should try google instead. I’m not sure. If anyone has a suspicion please let me know
Want results from more Discord servers?
Add your server