← Back to admin

Decap CMS GitHub login setup

If Decap login opens https://api.netlify.com/auth?provider=github&site_id=namikazi25.github.io&scope=repo and says not found, Decap has loaded, but GitHub OAuth is not configured for this GitHub Pages site yet.

A static GitHub Pages site cannot store a GitHub OAuth client secret. To publish from Decap CMS while staying on GitHub Pages, deploy a Decap-compatible GitHub OAuth proxy and point admin/config.yml at it.

Required config after deploying a proxy

backend:
  name: github
  repo: namikazi25/mir-nafis-sharear-shopnil
  branch: main
  base_url: https://YOUR_DECAP_OAUTH_PROXY_DOMAIN
  auth_endpoint: auth

OAuth app settings

More complete instructions are in README-blogging.md.