OAuth2 provider provisioning

hey there,

I could not find anything in the documentation, but maybe I am just being blind…

Is there any possibility to provision gitea as an oauth2 provider directly? I am already using the command line interface (in ansible) for adding LDAP authentication, now I would like to add an oauth2 app (drone), too.

I can do this manually but it would be nice if it is possible to automate this last step, too. Drone itself could be provisioned easily when I already had the client ID and secret from gitea…

Thanks in advance