Join the Webstudio community

Updated 2 months ago

User Not Found and Secret Is Incorrect

At a glance

The community members are experiencing issues with "User not found" and "secret is incorrect" errors. They have tried various solutions, such as creating a .env.development file, adjusting the JWT_SECRET, and recreating the container from scratch. The main issue seems to be related to the JWT_SECRET configuration, and one community member was able to resolve the problem by deleting the .env file in the .devcontainer and trusting the default values. However, there is no explicitly marked answer, and the community members are still discussing and trying to find a solution to the problem.

Useful resources
the User not found and secret is incorrect seem to be a common issue but i am not able to find the solution has anyone else?

DEV_LOGIN=true
AUTH_SECRET=test

test:email@email.com
1
J
V
S
7 comments
https://wstd.dev:5173/auth/dev then this page errors ERR_CONNECTION_REFUSED
same problem here, i've put the file .env.development in the apps/builder folder and i have this incorrect secret issue πŸ™‚
Attachment
image.png
finally, the issue seems to come from the JWT_SECRET
i had created a .env file in the .devcontainer with a too small JWT_SECRET, so i deleted this file, trusting the default values, run the container again, migrated the files and it finally worked !
@Vianney πŸŒ±πŸƒ I seem to be facing the same issue. how did you resolve this?
it happens some time, i recreated the container from scratch without modifying anything πŸ˜‰
Did you create .env.development file?
yes ... I added a JWT_SECRET and then rebuilt the whole container. I dont know what I did it correctly but I managed to fix it and get it up and running πŸ˜„
Add a reply
Sign up and join the conversation on Discord