Getting INVALID_USERNAME_OR_PASSWORD Error when using correct credentials
I am new to Better Auth and am using the
username()
plugin to enable username/password logins in my ElysiaJS backend. I have the following configurations for both the server and client for Better Auth:
I made some changes to the default Drizzle tables that Better Auth generated in my project:
With the above said, when I am doing local development, I am spinning up a Postgres docker container and run a custom seed script that I have to populate the tables with fake data. I'm probably not doing something correctly there in that step because when I attempt to log in with the fake admin
user I added to the UserTable
, I keep getting INVALID_USERNAME_OR_PASSWORD
back as a response.
Here is a small snippet of what I am doing:
Has anybody else run into this problem when using the username login?0 Replies