Fresh CT3 app nextAuth error

Hello! Trying out CT3 for the first time, pretty exciting to finally have a project to try it on! Now i followed the first steps guide and setup discord as an auth provider, followed the steps to add the values to the .env file. Generated a secret using openssl rand -base64 32 and set it as the next auth secret. Now when trying to login i keep getting errors:
[next-auth][error][JWT_SESSION_ERROR]
https://next-auth.js.org/errors#jwt_session_error Cannot read properties of undefined (reading 'id') {
message: "Cannot read properties of undefined (reading 'id')",
[next-auth][error][JWT_SESSION_ERROR]
https://next-auth.js.org/errors#jwt_session_error Cannot read properties of undefined (reading 'id') {
message: "Cannot read properties of undefined (reading 'id')",
Now i see in the session object it sets the id. But im kind of curious if this/these errors are expected or if i miss some obvious step that i missed.
0 Replies
No replies yetBe the first to reply to this messageJoin
Want results from more Discord servers?
Add your server