cal.diy icon indicating copy to clipboard operation
cal.diy copied to clipboard

Unable to login with first user

Open erzhan89 opened this issue 4 years ago • 4 comments

unable to login. created with Prisma Studio first user.. but getting error...

in .env file NEXT_PUBLIC_WEBAPP_URL='http://localhost:3000'

node v14.19.3 npm v6.14.17 yarn v1.22.19

image

erzhan89 avatar Jun 07 '22 08:06 erzhan89

Hi @erzhan89 if you have followed all the steps listed here : https://docs.cal.com/self-hosting/installation ; and have used the bcrypt tool mentioned in the docs to hash your password, take care that this tool adds extra spaces at the beginning and at the end of the copied string.

You can also use this snippet to get a bcrypt hash (where "test" is the password to hash) :

python -c 'import bcrypt; print(bcrypt.hashpw(b"test", bcrypt.gensalt(rounds=10)).decode("utf-8"))'

TheCapsLock avatar Jun 07 '22 11:06 TheCapsLock

@TheCapsLock, issue is solved. thanks!

erzhan89 avatar Jun 08 '22 12:06 erzhan89

@TheCapsLock the provided link here (and inside the app) is leading to a 404

Silur avatar Jun 20 '22 13:06 Silur

@Silur moved here : https://developer.cal.com/getting-started/docker

TheCapsLock avatar Jun 20 '22 13:06 TheCapsLock