decaporg / decap-cms

A Git-based CMS for Static Site Generators
https://decapcms.org
MIT License
17.96k stars 3.05k forks source link

Bypass login page for "git-gateway" #7297

Open andrewheberle opened 1 month ago

andrewheberle commented 1 month ago

Is it possible to disable the login page for the "git-gateway" backend?

The use case is to have the CMS secured via an external means, such as a reverse proxy, so that calls to the .netlify/git/... paths are essentially unauthenticated?

I'm specifically working on a "git-gateway" implementation using Cloudflare Workers with access secured using Cloudflare Access (although this could be more generic to allow any incoming JWT to be verified) so a Cloudflare Pages based static site can be set up with Decap CMS without any external dependencies and not require CMS users to have direct access to the git repository.