tyler4949
tyler4949
Explore posts from servers
TTCTheo's Typesafe Cult
Created by tyler4949 on 12/24/2024 in #questions
shadcn Dialog - "submit" vs "cancel"
I have this post on the github for more info: https://github.com/shadcn-ui/ui/discussions/5588
3 replies
TTCTheo's Typesafe Cult
Created by tyler4949 on 1/13/2024 in #questions
Update local data from useQuery
Will take a look
8 replies
TTCTheo's Typesafe Cult
Created by tyler4949 on 1/13/2024 in #questions
Update local data from useQuery
Thank you!
8 replies
TTCTheo's Typesafe Cult
Created by Derock on 4/16/2023 in #questions
NextAuth "[next-auth][error][JWT_SESSION_ERROR]" (CredentialsProvider)
Hey @Derock how did you get a valid user passed into the session() callback? I was getting the same error and found your post and making the jwt() callback fixed the error (thanks!) but by the time the user gets to the session() callback to set the custom field like you did, I am getting an undefined user. Did you run into this?
10 replies
TTCTheo's Typesafe Cult
Created by tyler4949 on 12/20/2023 in #questions
Adding custom value to NextAuth session - [next-auth][error][JWT_SESSION_ERROR]
In case you wanna bump the issue with me or share this in case someone asks in the future: https://github.com/nextauthjs/next-auth/discussions/9438. Seriously apprecaite your help @Josh
44 replies
TTCTheo's Typesafe Cult
Created by tyler4949 on 12/20/2023 in #questions
Adding custom value to NextAuth session - [next-auth][error][JWT_SESSION_ERROR]
Ahh just casting it, Im dumb idk why I didnt do that lmao thank you
44 replies
TTCTheo's Typesafe Cult
Created by tyler4949 on 12/20/2023 in #questions
Adding custom value to NextAuth session - [next-auth][error][JWT_SESSION_ERROR]
Beast thank you
44 replies
TTCTheo's Typesafe Cult
Created by tyler4949 on 12/20/2023 in #questions
Adding custom value to NextAuth session - [next-auth][error][JWT_SESSION_ERROR]
If I do use this appraoch temporarily I dont want typesript yelling at me
44 replies
TTCTheo's Typesafe Cult
Created by tyler4949 on 12/20/2023 in #questions
Adding custom value to NextAuth session - [next-auth][error][JWT_SESSION_ERROR]
No description
44 replies
TTCTheo's Typesafe Cult
Created by tyler4949 on 12/20/2023 in #questions
Adding custom value to NextAuth session - [next-auth][error][JWT_SESSION_ERROR]
Wtf is the point of accepting the user in the callback if its undefined
44 replies
TTCTheo's Typesafe Cult
Created by tyler4949 on 12/20/2023 in #questions
Adding custom value to NextAuth session - [next-auth][error][JWT_SESSION_ERROR]
Thats crazy lmao
44 replies
TTCTheo's Typesafe Cult
Created by tyler4949 on 12/20/2023 in #questions
Adding custom value to NextAuth session - [next-auth][error][JWT_SESSION_ERROR]
Yeah it looks like this is the answer in their github too: https://github.com/nextauthjs/next-auth/discussions/4117
44 replies
TTCTheo's Typesafe Cult
Created by tyler4949 on 12/20/2023 in #questions
Adding custom value to NextAuth session - [next-auth][error][JWT_SESSION_ERROR]
Yeah okay fair. Appreciate the input. At this point Im committed to solving this lol but if I change my mind I will try that approach
44 replies
TTCTheo's Typesafe Cult
Created by tyler4949 on 12/20/2023 in #questions
Adding custom value to NextAuth session - [next-auth][error][JWT_SESSION_ERROR]
Just auth state tbh. I was just following Theo's youtube video and wanted to add the middleware to stay in sync/learn. But I am more familiar with NextAuth than Clerk and use it in other projects so wanted to stay consistent
44 replies
TTCTheo's Typesafe Cult
Created by tyler4949 on 12/20/2023 in #questions
Adding custom value to NextAuth session - [next-auth][error][JWT_SESSION_ERROR]
Because that feels gross lol idk why I cant just access the user
44 replies