loops-server icon indicating copy to clipboard operation
loops-server copied to clipboard

[Server Bug]: POST method is not supported for route login

Open pimvanpelt opened this issue 4 weeks ago • 2 comments

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

  1. Install loops-server using the docker compose approach
  2. create an admin user w/ e-mail address and password
  3. visit loops UI (behind nginx reversed proxy), it renders fine
  4. click 'login' button, offer username+password
  5. Failure occurs.

Loops version

v1.0.0-beta.5

Acknowledgements

Yes

pimvanpelt avatar Dec 01 '25 16:12 pimvanpelt

Image for the user visible response on the web interface

pimvanpelt avatar Dec 01 '25 16:12 pimvanpelt

cc @shleeable

dansup avatar Dec 02 '25 12:12 dansup

The APP_URL likely has an / at the end which should be removed!

dansup avatar Dec 09 '25 01:12 dansup