image.png
# developers
e
image.png
Anyone knows why this might be happening? I've got a password with more than 15 characters.
Also, when attempting to enable 2FA I receive this error.
p
not sure why 2FA is failing
e
p
@Ali can you look into this?
e
Ok, in my case I discovered what was the issue. • Use
openssl rand -base64 32
to generate a key and add it under
NEXTAUTH_SECRET
in the .env file. • Use
openssl rand -base64 24
to generate a key and add it under
CALENDSO_ENCRYPTION_KEY
in the .env file. I used the 32 key to for calendso_encryption_key and the 24 key for nextauth_secret Everything works now
a
Amazing. Glad you found the cause and fixed it 🎉
b
I have this issue too; my instance is in docker so unsure if above commands would work?
a
@Blaine J You do need to set the above env variables in the .env file even if you have docker setup.
a
For me, I still have the issue even after using the 32 key for calendso_encryption_key and the 24 key for nextauth_secret