Nelson
Explore posts from serversBABetter Auth
•Created by Nelson on 3/2/2025 in #help
How to manually invalidate session data?
I'm using Next.js and next-safe-action and
auth.$context.internalAdapter
. After that, how do we invalidate the session data/cache?6 replies
BABetter Auth
•Created by Nelson on 2/25/2025 in #help
How to verify password?
Is there a function that I can use to verify the password? I want the user to type the current password to confirm before changing the username.
7 replies
DTDrizzle Team
•Created by Nelson on 1/14/2024 in #help
Question about relations
I am trying to migrate from Prisma to Drizzle. But after reading the docs, I can't understand it. How to add relations to connect them? One user should have many comments. Can someone give me a real-world case so that I can learn faster?
Also, I am using NextAuth. Do I need to add relations to connect users with account and session?
3 replies