I wanted to know why I am still getting the same e...
# developers
r
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
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
apologies for the inconvenience caused to you. yes I have set that in .env file