Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/eddiezane/github-oauth-example
https://github.com/eddiezane/github-oauth-example
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/eddiezane/github-oauth-example
- Owner: eddiezane
- Created: 2015-02-15T21:26:45.000Z (almost 10 years ago)
- Default Branch: main
- Last Pushed: 2021-02-15T22:14:21.000Z (almost 4 years ago)
- Last Synced: 2024-10-14T11:47:39.562Z (2 months ago)
- Language: JavaScript
- Size: 1000 Bytes
- Stars: 2
- Watchers: 2
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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)