Any way to manage OAuth2 apps via REST API? #7290
Labels
modifies/api
This PR adds API routes or modifies them
type/proposal
The new feature has not been accepted yet but needs to be discussed first.
[x]
):Greetings!
I’m using Drone+Gitea (v.1.8.3) stack and just ran into a problem with automating the authorization process. 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 advance.
The text was updated successfully, but these errors were encountered: