-
Notifications
You must be signed in to change notification settings - Fork 182
Add support for github enterprise #145
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from 1 commit
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -74,6 +74,9 @@ module.exports = (function () { | |
| enabled: false, | ||
| clientId: "replace me with the real value", | ||
| clientSecret: "replace me with the real value", | ||
| authorizationURL: "leave me empty to https://github.com/login/oauth/authorize", | ||
| tokenURL: "leave me empty to https://github.com/login/oauth/access_token", | ||
| userProfileURL: "leave me empty to https://api.github.com/user", | ||
| redirectURL: "" | ||
|
Owner
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. There is also the concern of people using the github authentication, updating Jingo after we merge this PR, not updating their config file, and then probably failing the authentication because the default values of those fields are not a valid value.
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I've tested an old config file without the new fields, enabled the github auth, It works well. |
||
| }, | ||
| // @deprecated, use local with just an user | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think that for the default values, either you leave it really empty or you use those default URLs. The strings as they are, are a bit confusing, IMHO.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
moved the descriptions to readme