Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/eddiezane/github-oauth-example


https://github.com/eddiezane/github-oauth-example

Last synced: about 1 month ago
JSON representation

Awesome Lists containing this project

README

        

# GitHub OAuth Example

Create a new oauth app [here](https://github.com/settings/applications/new) with `http://localhost:3000/callback` as the Homepage URL and Authorization callback URL. Grab your `client_id` and `client_secret` and put them inside `app.js`.

Run `npm install && node app.js` and visit [http://localhost:3000/login](http://localhost:3000/login)