6

Did anyone has luck using OAUTH to authenticate to GB from Netlify CMS but NOT using the Netlify API? If so, what did you use? I want do the authentication with my domain but Im not sure which API or package Should I use for this. Im learning. Any help will be appreciated.

Peter
  • 2,004
  • 2
  • 24
  • 57
  • see this https://stackoverflow.com/questions/50809299/what-is-the-simplest-way-to-restrict-access-to-a-static-website-using-social-aut/58993785#58993785 – GorvGoyl Nov 22 '19 at 11:57

1 Answers1

4

Yes, the external OAuth clients are listed under https://www.netlifycms.org/docs/authentication-backends/#github-backend. Currently, there are clients in Node.JS, Python, and Go:

Once you set up the server, you can simply add a base_url setting point to your OAuth client under your backend in your CMS config:

backend:
  name: github
  repo: user/repo
  base_url: https://your.server.com # URL to OAuth client
tech4him
  • 970
  • 5
  • 20