Default login not working on first login
I set up a new Windmill instance using the docker-compose setup and upon first login using the default login credentials
/user/login?email=admin@windmill.dev&password=changeme
it throws Invalid credentials
I have tried recreating the database
But still get the same error upon first login
Any ideas on what I might have done wrong or how to debug?3 Replies
I can see that the migrations were run successfully in the logs
Checked the
password
table
Interesting, login fails when hitting Cloudfront with HTTPS, but succeeds when hitting EC2 directly without HTTPS
Not sure which Cloudfront setting conflicts with loginMore weird behavior, after setting up a new user I cannot login with the user
The
/users
endpoint throws 401
This behavior is different than when I enter an incorrect password, where /login
throws 400 and Bad request: Invalid login
Ok figured it out, Cloudfront was not passing the auth headers to the Origin, fixed by setting to
AllViewer