woodpecker: Gitea login endless loop

Component

server, web-ui

Describe the bug

If I try to login into gitea I get redirected to my gitea instance at the first time. There I can authorise woodpecker and then I get redirected back to my woodpecker instance. But again to the login view (/do-login). The next time I try to login the page refreshes only but nothing happens

Another server with the same config but connected to github is working fine.

System Info

{"source":"https://github.com/woodpecker-ci/woodpecker","version":"0.15.3"}

I'm using docker-compose.

Additional context

No response

Validations

About this issue

  • Original URL
  • State: closed
  • Created 2 years ago
  • Comments: 16 (8 by maintainers)

Most upvoted comments

-> nginx did cache /web-config.js so after successfull auth it could not get CSRF and USER

This is exactly the documentation I used. But this does not work 😦