When setting up drone and gitea, my user cannot log in, the the following message:
Login Failed. Forbidden
Before pulling the latest gitea and drone docker images I was able to login.
Drone from docker drone/drone:1
Gitea from docker gitea/gitea:1 (799f5e0)
Reverse proxy: traefik
[Macaron] 2019-04-27 10:07:20: Started GET /api/v1/users/[:user]/tokens for 126.96.36.199
gitea_1 | [Macaron] 2019-04-27 10:07:20: Completed GET /api/v1/users/[:user]/tokens 403 Forbidden in 37.509493ms
(Where [:user] is my username)
Is this due to the way the api in Gitea works? api/v1/users/[:user]/tokens requires basic authentication in url?
Is there anything I would miss from configuration below?
There are known issues (in Gitea) with 2FA and their new oauth2 implementation as it related to cloning a repository. I believe the Gitea folks are working to patch this in the 1.8.1 release, according to techknowlogick (Gitea maintainer). You might want to check in the Gitea discord channel to get more information.
For anyone coming here from search, what @bradrydzewski said above is correct. There was a bug in Gitea that’ll be released in 1.8.1. The patch has been merged, and we are just waiting for a release which should be within the next week. Feel free to join us on Gitea discord if you need help in the interim.