This repository has been archived by the owner on Aug 10, 2023. It is now read-only.
Invalid username or password #54
Comments
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 |
@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 free
to 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: