Netlify CMS, Gatsby and GitHub authentication without Netlify
Asked Answered
A

1

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.

Almetaalmighty answered 17/4, 2018 at 0:44 Comment(1)
see this #50809799Schurman
E
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
Elwira answered 18/4, 2018 at 13:39 Comment(1)
Thank you! I spent days looking for this simple answer.Niggerhead

© 2022 - 2024 — McMap. All rights reserved.