decaporg / decaporg/decap-website
To use decap CMS on Github pages. Do I have to host the site on Netlify?
- Dominant language
- SCSS
- Stars
- 13
- Forks
- 319
- Avg merge
- 6d 3h
- Merged PRs (30d)
- 1
Description
**Describe the bug**
I followed the jekyll setup instructions and my site still can't use decap CMS. I followed the instructions here
[jekyll guide](https://decapcms.org/docs/jekyll/) and [here- GitHub backend](https://decapcms.org/docs/github-backend/) to setup the GitHub backend.
I followed the steps to setup the identity widget
I have setup the secrets and got the client ID for my project but at the section that says to:
> Follow the authentication provider setup steps in the [Netlify docs](https://www.netlify.com/docs/authentication-providers/#using-an-authentication-provider)
It says in the netlify docs
> When you complete application registration with GitHub, you need to add the Client ID and Client Secret to your Netlify site:
Problem is that the site isn't hosted on Netlify, since it's on Github pages. I assumed I wouldn't have to change the hosting provider. But the remaining steps require a Netlify site to do these steps in the Netlify UI [page](https://docs.netlify.com/security/secure-access-to-sites/oauth-provider-tokens/#using-an-authentication-provider). Clicking the links takes me to one of my other projects hosted on Netlify so I can enter the client ID and secret.
> Go to Site configuration > Access & security > OAuth
Under Authentication Providers, select Install Provider.
Select GitHub and enter the Client ID and Client Secret from earlier, then save.
So this is where I had to stop following the tutorial on the DecapCMS docs. I feel I'm almost there but just missing something.
I tried to look for alternatives and found the section for external OAuth, but it doesn't have a jekyll setup with Github pages
[external OAuth](https://decapcms.org/docs/external-oauth-clients/)
Nevertheless I tried the serverless option and it just confused me more. If anyone knows how to use this I will be grateful for your help.
**To Reproduce**
**Expected behavior**
To be able to use Decap CMS on my Github pages website without changing hosting providers
**Screenshots**
This is what I see when I go to the /admin route.

Then it fails at this step

**Applicable Versions:**
- Decap CMS version:
- decap-cms-app 3.3.3
decap-cms.js:sourcemap:393 decap-cms-core 3.4.2
decap-cms.js:sourcemap:491 decap-cms 3.3.3
- Git provider: GitHub
- OS: Windows 11
- Browser version Version 128.0.6613.138 (Official Build) (64-bit)
**CMS configuration**
https://github.com/RDjarbeng/RDjarbeng/blob/144fa7e58c3b7c164550c4f619b79ba6130a41cc/admin/config.yml
**Additional context**
Site is my personal website located at:
https://rdjarbeng.github.io/RDjarbeng/
On GitHub:
https://github.com/RDjarbeng/RDjarbeng
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.