kiryl_ch
Explore posts from serversTTCTheo's Typesafe Cult
•Created by kiryl_ch on 1/28/2025 in #questions
how to execute some code on user signup, next auth 5
I have magic link auth and google oauth. I need to create default team in db for user when user signups but before he redirected to dashboard. What would be appropriate place to do it?
3 replies
DTDrizzle Team
•Created by kiryl_ch on 5/10/2024 in #help
how to query based on relation?
I have many to many relation between Project and User table. How to querry all projects that user is into?
db.query.projects.findMany({
where: ---> users include userId ?
with: {
users: true,
},
});
2 replies
KKinde
•Created by kiryl_ch on 4/30/2024 in #💻┃support
How to setup SSO only for one organization?
i am building multy tenancy app and what to know if it is possible to setup SSO only for one oraganization? I can not find it in my dashboard
2 replies