https://cal.com logo
#developers
Title
# developers
r

Rohit Raj

05/06/2022, 11:15 AM
I wanted to know why I am still getting the same error: "TypeError: "ikm" must be at least one byte in length" . Even though I have used this link https://bcrypt-generator.com/ to store my password in the database.
p

Patrick DePippo

05/06/2022, 11:20 AM
please stop tagging here it is distracting. A quick google shows that this is a result of nextjs auth not seeing a top level secret defined. Have you set
NEXTAUTH_SECRET
in your
.env
file yet?
r

Rohit Raj

05/06/2022, 11:27 AM
apologies for the inconvenience caused to you. yes I have set that in .env file
12 Views