https://www.netlifycms.org/docs/external-oauth-clients/ https://docs.gitea.io/en-us/oauth2-provider/
NetlifyCMS allows you to define your own backends, and Gitea now has OAuth2 support. Should be able to adopt a similar strategy and allow Gitea to be used as a backend.