[Server Bug]: POST method is not supported for route login
Description
I have just installed a copy of loops-server running inside of Docker using the docker-compose.yml file and a .env file (see below). I've followed the steps in DOCKER_COMPOSE_SETUP.md, and managed to create adn admin user successfully.
The login on the web frontend fails with an error The POST method is not supported for route login. Supported methods: GET, HEAD.
The two pertinent loglines from the loops-app are:
loops-app | 198.19.4.165 - - [01/Dec/2025:16:32:05 +0000] "GET /sanctum/csrf-cookie HTTP/1.0" 204 0 "https://flx.ublog.tech/" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:144.0) Gecko/20100101 Firefox/144.0" "2001:678:d78:300::5"
loops-app | 172.18.0.1 - - [01/Dec/2025:16:32:05 +0000] "POST //login HTTP/1.0" 405 100 "https://flx.ublog.tech/" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:144.0) Gecko/20100101 Firefox/144.0" "2001:678:d78:300::5"
#51 might be related. I am testing loops-server on desktop for the moment.
Steps to reproduce
- Install loops-server using the docker compose approach
- create an admin user w/ e-mail address and password
- visit loops UI (behind nginx reversed proxy), it renders fine
- click 'login' button, offer username+password
- Failure occurs.
Loops version
v1.0.0-beta.5
Acknowledgements
Yes
for the user visible response on the web interface
cc @shleeable
The APP_URL likely has an / at the end which should be removed!