adrianhajdin / project_nextjs13_flexibble

https://jsmastery.pro
639 stars 133 forks source link

JWT Malformed #25

Open ernstlegaspi opened 11 months ago

ernstlegaspi commented 11 months ago

image

This is the screenshot for my error. What should I do for me to get rid of this error? Thank you so much guys.

ValkonX33 commented 10 months ago

I was getting the same error, but I also wasn't scrolling up high enough to see that another error came first. It turns out that I had a problem with the definition of the User table in grafbase.config.ts and I forgot to add .optional() to the description field. The encoding error happened after that, but it was due to the fact that a user wasn't properly created due to the missing .optional() function. try this and tell me if it worked or not