Skip to content

Alheimsins/gh-follow-team-auth-server

Repository files navigation

Build Status js-standard-style

gh-follow-team-auth-server

Auth server for gh-follow-team.

Developed for running serverless at Vercel

Setup

Create an OAuth app on GitHub.

Set Authorization callback URL to <url-for-this-app>/callback

Add clientID and clientSecret as GITHUB_CLIENT_ID and GITHUB_CLIENT_SECRET to your Vercel project

API

/login

Redirects to GitHub for authorize

/callback

The callback for OAuth authorization

Development

Add secrets to a local `.env``

Start the server with the vercel-cli

$ vc dev

Releated

License

MIT

About

Created with ❤ for Alheimsins

Alheimsins logo