4 ms·
Nice to see a new entry in the git based CMS realm, I really appreciate that you seem to understand the importance of a good user experience for editing content
by __jonas 3y ago
Nice to see a new entry in the git based CMS realm, I really appreciate that you seem to understand the importance of a good user experience for editing content!
Am I gathering correctly that this does not actually require you to host a backend somewhere? The GitHub OAuth will work even if the CMS is just statically hosted on Cloudflare Pages / Netlify?
This was something I always found a little strange about Netlify CMS / Decap, the fact that it required you to either use Netlify or self host their git-gateway.
Edit:
Nevermind, I saw it does the auth through serverless functions https://github.com/pages-cms/pages-cms/tree/main/functions/auth https://github.com/pages-cms/pages-cms/tree/main/functions/a... I guess it's impossible to do it frontend-only, looks like a fair compromise to me
- hunvreus 3y agoThat's the lightest I could figure out to get OAuth rolling, but it does almost nothing and doesn't store your token. You don't have to host anything if you use the online version, but you can self host it fairly easily for free on Cloudflare Pages: https://pagescms.org/docs/development/#deploy-on-cloudflare https://pagescms.org/docs/development/#deploy-on-cloudflare
- Arelius 3y agoYeah, github OAuth doesnt support a web client only flow, so you at least need a backend to forward along the response to the client. It's pretty much just that cross site requests are disabled.