Aerys
Aerys
Explore posts from servers
TTCTheo's Typesafe Cult
Created by Aerys on 12/17/2023 in #questions
How Do I Ban Users & Invalidate Their JWT Tokens?
bruh, next time I won't, but I have to fix this now
41 replies
TTCTheo's Typesafe Cult
Created by Aerys on 12/17/2023 in #questions
How Do I Ban Users & Invalidate Their JWT Tokens?
verification means statefulness?
41 replies
TTCTheo's Typesafe Cult
Created by Aerys on 12/17/2023 in #questions
How Do I Ban Users & Invalidate Their JWT Tokens?
not really, we're still not mutating the token
41 replies
TTCTheo's Typesafe Cult
Created by Aerys on 12/17/2023 in #questions
How Do I Ban Users & Invalidate Their JWT Tokens?
The benefit of jwt is being stateless, db look up doesn't violate it
41 replies
TTCTheo's Typesafe Cult
Created by Aerys on 12/17/2023 in #questions
How Do I Ban Users & Invalidate Their JWT Tokens?
That's an option as well oc, but my whole system is jwt atm
41 replies
TTCTheo's Typesafe Cult
Created by Aerys on 9/27/2023 in #questions
tRPC: Why useQuery() tries to refetch when error occurs while useMutation() doesn't?
you're right, thanks! 🤟
6 replies
TtRPC
Created by Aerys on 9/27/2023 in #❓-help
Why useQuery() tries to refetch when error occurs while useMutation() doesn't?
oh you're right, just disabled it, thanks for help! 🤟
5 replies
TTCTheo's Typesafe Cult
Created by Aerys on 9/24/2023 in #questions
Prisma and NextAuth: Additional fields in the `User` model
No description
49 replies
TTCTheo's Typesafe Cult
Created by Aerys on 9/24/2023 in #questions
Prisma and NextAuth: Additional fields in the `User` model
so true
49 replies
TTCTheo's Typesafe Cult
Created by Aerys on 9/24/2023 in #questions
Prisma and NextAuth: Additional fields in the `User` model
it's just a reference from the new model to the User model, nothing needs to be optional
49 replies
TTCTheo's Typesafe Cult
Created by Aerys on 9/24/2023 in #questions
Prisma and NextAuth: Additional fields in the `User` model
sorry for reaching you a bit late. in the end I just had to create a separate model and a one-to-one relation to the User model. so far so good.
49 replies