hapi-auth-github
Version:
Quick & Simple GitHub Authentication for Hapi.js apps
30 lines (16 loc) • 1.06 kB
Markdown
# Steps to Register a new GitHub Application
## 1 - Open Your GitHub Account Settings
> Visit: https://github.com/settings/developers

## 2 - Define the details for your applications
Ensure that you set the `callback URL` to something obvious like `/githubauth`

*Note: You can edit/change any of these values later*.
Click on **Register Application**
## 3 - Copy the Client ID & Secret for the App
Once you've successfully created your GitHub App,
copy the Client ID and Secret and save them as environment variables
`GITHUB_CLIENT_ID` and `GITHUB_CLIENT_SECRET` respectively.

Copy the two keys and export them in your project
see: Step 3 of the Readme.