woodpecker: Can't login in Woodpecker 0.12.0+

Can’t login in Woodpecker with user/pass and Gitea when using Woodpecker after 0.11.0 release: 0.12.0, 0.13.0 and latest not working.

My configuration:

      - DRONE_GITEA=true
      - DRONE_GITEA_URL=https://gitea.domain.com
      - DRONE_ADMIN=my_gitea_user

Error message:

time="2021-05-25T20:55:06Z" level=error msg="cannot authenticate user. 403 Forbidden"

0.11.0 works without problems. Thanks!

About this issue

  • Original URL
  • State: closed
  • Created 3 years ago
  • Comments: 21 (14 by maintainers)

Most upvoted comments

@6543 i just submitted PR #221

i found what the issue is, apparently you cannot create a gitea sdk client without any authentication set in the new sdk version (sdk was updated in the 1.12 release), ill clean up my code and make a PR.

Same problem here.