Any way to manage OAuth2 apps via REST API?


I’m using Drone+Gitea (v.1.8.3) stack and just ran into a problem with automation. To add an app I have to manually go to GUI (Settings => Applications), add the app through section “Manage OAuth2 Applications”, take the resulting ID and Secret for further usage in drone. Authorization itself works fine, the problem is that I have lots of such Gitea instances, which are regularly created and deleted by scripts. So, without having a way of adding an app via API, I have to either add it manually on every Gitea instance, or use a rude INSERT into database. Is there a more graceful way, or maybe I’m missing something?

Thank you in advise.

Please fire an issue on

Done, thank you (link)