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
{{ message }}
This repository has been archived by the owner on Jun 22, 2024. It is now read-only.
I've created a superuser following the instructions in the README (i.e., sudo docker-compose -f local.yml run django python manage.py createsuperuser), but every time I try to log in I get the following error: "Invalid username or password". I've checked that the superuser I created actually exists (when I try to create another with the same name it says that username is taken), and I've also created additional superusers. Regardless I keep getting the same error.
The text was updated successfully, but these errors were encountered:
I have the same problem as @cbmartinx, even creating new users with full permissions from the django admin panel. Have you been able to solve the problem? Thank you very much for your answers, thanks!
@cbmartinx It's possibly a frontend issue. If you deploy it on a remote host other than localhost, you should update the environment variable REACT_APP_API_ROOT_URL in the frontend/.env file.
@cbmartinx@jaisenbe58r Open your browser dev tools and watch the requests that get made when you click Login. See why the XHR requests to /api/token/pair are failing. Do the OPTIONS and POST reqs both connect? What's the return code from the POST? Clicking "Login" is the first time the frontend tries to talk to Django, could be all sorts of things wrong
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
I've created a superuser following the instructions in the README (i.e., sudo docker-compose -f local.yml run django python manage.py createsuperuser), but every time I try to log in I get the following error: "Invalid username or password". I've checked that the superuser I created actually exists (when I try to create another with the same name it says that username is taken), and I've also created additional superusers. Regardless I keep getting the same error.
The text was updated successfully, but these errors were encountered: