For repositories stored on Gitea, the
gitea backend allows CMS users to log in directly with their Gitea account. Note that all users must have push access to your content repository for this to work.
Because Gitea requires a server for authentication and Netlify doesn't support Gitea, a custom OAuth provider needs to be used for basic Gitea authentication.
To enable basic Gitea authentication:
- Setup an own OAuth provider, for example with Teabag.
- Add the following lines to your Static CMS
backend: name: gitea repo: owner-name/repo-name # Path to your Gitea repository base_url: https://oauth.example.com # URL of your OAuth provider api_root: https://gitea.example.com/api/v1 # API url of your Gitea instance # optional, defaults to main # branch: main
Git Large File Storage (LFS)
Please note that the Gitea backend does not support git-lfs.