-
Notifications
You must be signed in to change notification settings - Fork 8
Setup Your GitHub OAuth Application
mathbook-io edited this page Mar 23, 2018
·
3 revisions
You only need to setup a GitHub OAuth Application if you're looking to get authentication functionality working in your local development environment. You can totally skip this if you're not looking to do anything related to logged in users on Mathbook.
- Visit github.com and Sign In
- Navigate to your profile settings page
- In the side bar, find and click on
Developer Settings
- Then click on
New OAuth App
- You will then be navigated to a page that looks similar to this,
- Confirm that the
Homepage URL
andAuthorization callback URL
you entered match what you see in the screenshot above. - Click
Update Application
- Now, copy the
clientId
andclientSecret
for your newly created Application into yourconfig/local.json
file.
If that didn't work out, you can refer to the official documentation on building an OAuth App on GitHub