Drone 0.8 is very old, and at the time of the documentation being written for 0.8 Gitea did not support OAuth. Gitea has since released oauth support, and Drone 1.x supports logging in via Oauth from gitea.
Drone 0.8 is no longer supported, and it is recommended you upgrade to the latest stable/supported version.