You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your question related to a problem or code? Please describe.
There is no username or password fields on the login page.
Describe what you've tried to solve this question
Fresh installation via docker compose
Signed up and created a new account (received user created success notification)
On the sign in page there is no fields where to enter username and password.
Tried to add NEXT_PUBLIC_CREDENTIALS_ENABLED=true to my env vars but didn't work.
In the linkwarden-linkwarden-1 container logs I only see this query getting called regularly:
[1] prisma:query SELECT "public"."Link"."id", "public"."Link"."name", "public"."Link"."type", "public"."Link"."description", "public"."Link"."collectionId", "public"."Link"."url", "public"."Link"."textContent", "public"."Link"."preview", "public"."Link"."image", "public"."Link"."pdf", "public"."Link"."readable", "public"."Link"."lastPreserved", "public"."Link"."importDate", "public"."Link"."createdAt", "public"."Link"."updatedAt" FROM "public"."Link" WHERE ("public"."Link"."url" IS NOT NULL AND ("public"."Link"."image" IS NULL OR "public"."Link"."image" = $1 OR "public"."Link"."pdf" IS NULL OR "public"."Link"."pdf" = $2 OR "public"."Link"."readable" IS NULL OR "public"."Link"."readable" = $3)) ORDER BY "public"."Link"."id" DESC LIMIT $4 OFFSET $5
Tried browsers: Firefox, Chrome, Edge
Include any code or screenshots (if applicable)
Here are my .env vars:
I was experiencing this exact same problem. Did a Docker install, but adjusted for using an existing database server.
My solution was enabling NEXT_PUBLIC_CREDENTIALS_ENABLED=true in my .env file.
I see that you already tried this, so maybe it'd be helpful if I am very specific about how I enabled that setting. I am using the sample .env file as is, nothing excluded. All I did was put the word "true" after the equal sign on line 16, which already contains that variable, with no value.
I believe that your problem might be related to something in your .yaml file or your .env file.
My best guess is that you are also using the sample .env file, and you typed out "NEXT_PUBLIC_CREDENTIALS_ENABLED=true" on line 3, immediately after the two NEXTAUTH_ lines. If you did this, and you are using the sample .env file, the NEXT_PUBLIC_CREDENTIALS_ENABLED variable is going to get un-set by line 16 of your .env file.
Attached is a copy of my YAML and ENV file, with everything I changed highlighted, as a screenshot because I am a barbarian. Hope it helps you figure this one out.
As a side note, I believe the install instructions should maybe include a mention of needing to enable this variable, as it seems to be necessary to get basic functionality out. Or I am overlooking something, which wouldn't surprise me.
Is your question related to a problem or code? Please describe.
There is no username or password fields on the login page.
Describe what you've tried to solve this question
Fresh installation via docker compose
Signed up and created a new account (received user created success notification)
On the sign in page there is no fields where to enter username and password.
Also, the XHR call to http://10.100.0.9:5852/api/v1/auth/session returns an empty Json object.
Tried to add NEXT_PUBLIC_CREDENTIALS_ENABLED=true to my env vars but didn't work.
In the linkwarden-linkwarden-1 container logs I only see this query getting called regularly:
Tried browsers: Firefox, Chrome, Edge
Include any code or screenshots (if applicable)
Here are my .env vars:
and my compose.yaml:
And here is my login page:
Additional context
N/A
The text was updated successfully, but these errors were encountered: