Netlify Cms Cloudflare Pages

screenshot of Netlify Cms Cloudflare Pages
netlifycms

Oauth API to run Decap CMS (formerly Netlify CMS) on Cloudflare Pages

Overview

The article provides a guide on how to install Netlify CMS on Cloudflare Pages and set up authentication with Github OAuth. It explains the steps required for installation and configuration of the necessary files and environment variables.

Features

  • Github Authentication: The guide explains how to create an OAuth application on Github and set up the required client ID and secret for authentication.
  • Cloudflare Functions: The code provided enables the use of Cloudflare Functions to create API endpoints for Github authentication, running on Cloudflare Pages.
  • File Integration: The article suggests adding the necessary files to the project, including the functions directory and the Netlify CMS files, for smooth integration.

Summary

The article provides an installation guide for adding Netlify CMS to a Cloudflare Pages project and setting up authentication with Github OAuth. It covers the steps required, including creating an OAuth application on Github, adding environment variables to the Cloudflare project, and integrating the necessary files. By following the steps, users can easily authenticate with Github and utilize the Netlify CMS on their Cloudflare Pages site.

netlifycms
NetlifyCMS

Netlify CMS is a powerful and flexible content management system that is designed to work seamlessly with the Netlify platform. Netlify CMS provides a user-friendly interface for managing content, including support for custom content types, localization, and asset management.