Getting `NOAUTH Authentication required` error on self hosted site after sign in/workspace creation
After signing up or logging in, I receive a popup error:
Error during useFindManyObjectMetadataItems.
When I check the network logs, I see the following error in my GraphQL calls: code: INTERNAL_SERVER_ERROR
response: NOAUTH Authentication required.
I attempted to set the AUTH_PASSWORD_ENABLED
environment variable to true, but I still get the same error. Did I misconfigure something, or is there another underlying problem?18 Replies
Also when I try refreshing the page I get a blank screen because the
GetClientConfig
query is failing with the same NOAUTH errorwhat version?
i am running the twentycrm/twenty:latest docker image. Also I am using the railway.app twentycrm template deployment if that helps in any way
Fresh install?
Yeah I even tried deleting my environment and deploying everything all over again
Hi, I was wondering if anyone knows of the issue and can help as I am still having trouble with this
Hi @abed3k, happy to help here, could you share the queries in your network tab (your screenshot does not show any, I think you opened it too late). It's likely that you have either a server configuration issue or a networking issue
hey @charles . So the ones that failed for me were just the ones in the video since I couldn't get past the workspace form on the front page. So that would be query CombinedFindManyRecords and query ObjectMetadataItems and mutation Track and mutation ActivateWorkspace. All of them gave the same
NOAUTH Authentication required
error. I was able to sign up, but that was about it.sorry, I missed that your attachment was a video...
I have never seen this error about NOAUTH, could you share your server logs, you should see more errors from there
These are my server logs when I try to sign up
This does not look like the NOAUTH error, are you sure you don't have nay other?
These are the only error logs I get 😅😅
I just used the twenty crm template on railway.app
This error is when unauthorized user tries to access the workspace
Could you modify your .env and add debug logs?
If they're somewhere in the code, they'll help locate the problem
I have same problem.
In the clip, I see graphql call api at port 3000, FE also at localhost:3000. Is it right ?
Yes
also using railway?
I don't understand. What does it mean ?
@abed3k was facing the issue while trying to host on railway (cloud provider)
if you don't we will need more information about your issue
Got same error here. @abed3k Have you managed how to solve it?
I'm also using the railway template https://railway.app/template/nAL3hA