i40west / netlify-cms-cloudflare-pages

Oauth API to run Decap CMS (formerly Netlify CMS) on Cloudflare Pages
BSD 3-Clause "New" or "Revised" License
97 stars 25 forks source link

Fix 404 after 'login with GitHub' button is pressed #7

Closed ramiro closed 4 months ago

ramiro commented 4 months ago

Set site_domain. Otherwise client_id is sent as undefined when hitting GitHub Outh endpoint:

https://github.com/login/oauth/authorize?client_id=undefined&redirect_uri=https%3A%2F%2F...&scope=repo+user&state=...