-
-
Notifications
You must be signed in to change notification settings - Fork 233
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
No way to login on login page #588
Comments
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. |
Thank you so much @coreyaboy ! |
However I still don't have any longin field here :( |
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: