-
Notifications
You must be signed in to change notification settings - Fork 226
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
code cleanup: remove client id and secret (#677)
- Loading branch information
Showing
3 changed files
with
15 additions
and
31 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,11 @@ | ||
/** | ||
* This is a sample file for your Github client id and client secret | ||
* This is needed to collect the doc's from the fluxible repo. | ||
* You can generate the client/secret pair here: https://github.com/settings/applications/new | ||
* This is a sample file for using your Github access token to collect | ||
* the doc's from the fluxible repo. | ||
* | ||
* Alternatively, you can pass in an oauth access token to work around the rate limiting | ||
* restrictions of the client id / secret pair | ||
* | ||
* GitHub Auth docs: https://developer.github.com/v3/#authentication | ||
* GitHub Auth docs: https://docs.github.com/en/rest/overview/resources-in-the-rest-api#authentication | ||
*/ | ||
export default { | ||
github: { | ||
accessToken: process.env.GITHUB_ACCESS_TOKEN || '', | ||
clientId: process.env.GITHUB_CLIENT_ID || '', | ||
clientSecret: process.env.GITHUB_CLIENT_SECRET || '' | ||
accessToken: process.env.GITHUB_ACCESS_TOKEN || '' | ||
} | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters