netlify-cms-github-oauth-provider icon indicating copy to clipboard operation
netlify-cms-github-oauth-provider copied to clipboard

I have a question about setup

Open KManiKumarReddy opened this issue 5 years ago • 2 comments

I am trying to use this code, I have successfully set up an app at Github and deployed this provider, I see login with GitHub, I have signed in using Github, but I could not log in to Netlify CMS, every time I click on login with Github it's just opening a blank page for me.

KManiKumarReddy avatar Aug 20 '20 21:08 KManiKumarReddy

The HTML served by the repo is just a test. To actually use it with Netlify CMS you need to actually serve the HTML hosting the Netlify code, e.g. in app.js add:

app.use(express.static('public'))

And put the Netlify CMS index.html and config.yml in a public folder.

Also make sure you set base_url in config.yml ... which tells Netlify CMS to use this repo's auth endpoint instead of Netlify Identity.

romannurik avatar Nov 23 '20 03:11 romannurik

Can you pleas point me to section of [README.md] that is unclear?

vencax avatar Feb 11 '23 21:02 vencax