Skip to content
This repository was archived by the owner on Mar 27, 2024. It is now read-only.

Latest commit

History

7 Commits

Folders and files

NameName
Last commit message
Last commit date

Repository files navigation

This is a simple app that makes it possible to authenticate Netlify CMS against GitHub. It runs on the Vercel serverless infrastructure.

Installing & Configuration

Your probably want to clone the repo and deploy it to your Vercel account. No code changes are needed, the configuration is done through environment variables (see Vercel docs).

VariableDefaultComments
OAUTH_CLIENT_IDGitHub app ID, see your GitHub settings page.
OAUTH_CLIENT_SECRETGitHub app secret
REDIRECT_URLThe public URL this app is deployed at + /callback. Has to match the “Callback URL” setting of your GitHub app.
OAUTH_SCOPESrepo,userSee GitHub docs for possible values.
GIT_HOSTNAMEhttps://github.com
OAUTH_TOKEN_PATH/login/oauth/access_token
OAUTH_AUTHORIZE_PATH/login/oauth/authorize

Credits

The code is based on marksteele/netlify-serverless-oauth2-backend.

About

GitHub auth proxy for Netlify CMS that can be deployed to Vercel

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages