#Session not saving user

1 messages · Page 1 of 1 (latest)

lament valley
loud jacinthBOT
#

Hi @lament valley. I'm kapa.ai, your friendly support bot. I will try to answer your question by searching through the knowledge base. :wave:

lament valley
#

Mmm nope, where should I add those?

loud jacinthBOT
#

Sorry @lament valley, I seem to be having a bit of trouble. Don't worry though, I've pinged my supprt and they will try to fix me up! :technologist:

Perhaps try again in 15mins?

still briar
#

and a secreat of JWT which is random 64 bit phrase

lament valley
lament valley
#

I already have a NEXTAUTH_SECRET configured, do I need that JWT_SECRET separately also?

lament valley
#

Session not saving user

#

@still briar can you show me how you implement your signIn method with Credentials?

still briar
#

ignroe that first line : new Error (Error)

#

basically im checking the user is in db or not

lament valley
#

Got it, that's useful.

What about your signIn method in your sign in form, the one that triggers after you hit the Log In button, how do you send the data and resolve the Promises?

I think I may not be doing it properly