Authorization attempt leads to 404


need some advice on getting this running.
setting up ory hydra using examples from -

running token user will setup listener on :4445

  1. Migration ran successfully
  2. Consent app starts
  3. Checking docker instance for hydra_1;
    1. Logs indicate a few attempts in establishing connection to Postgres or running migrations or attempting to import the clients.json
    2. After a few attempts, client has been imported and set in Postgres
      1. Verified by checking the postgres instance.

Steps to reproduce;

  1. Run hydra token user --client-id example-auth-code --client-secret secret --endpoint http://localhost:4444/
  2. Click on authorize authorize application
  3. Redirects back :4444 with string /?client_id=example-auth-code&redirect_uri=http%3A%2F%2F127.0.0.1%3A4445%2Fcallback&response_type=code&scope=offline+openid&state=glsdfytbybjeujxqpvyqwxup&nonce=hodfatjauyedydohmzmabmer&prompt=&max_age=0

error: 404 not found.


I can not reproduce this when running the mentioned example. Have you made any changes to source files or are there potentially more instances of hydra running on your machine?


I have not made any changes to the source files.


Ok, please tear down all of your docker images docker rm -f $(docker ps -aq) (first make sure that no docker images you need or have data are deleted here) and then restart the example