Skip to content
This repository has been archived by the owner on Jan 24, 2019. It is now read-only.

use Github provider with GitHub enterprise #197

Merged
merged 2 commits into from
Feb 6, 2016

Conversation

ruta-goomba
Copy link

Pull request to resolve issue "Custom github url not supported #144"

I removed hard-coded github.com endpoints. With the proposed changes oauth2_proxy works with enterprise github if user sets validateURL (as well as loginURL and redeemURL) to github enterprise endpoint.

print the error stack trace

point to my fork in oauthproxy.go

addint pointers to ruta-goomba fork in mulitple files

change api endpoint

replace hard-coded github api endpoint with variables

resetting fall through github urls to point to github.com

fix malformed url

changes to enable use with enterprise github
@jehiah
Copy link
Member

jehiah commented Jan 21, 2016

@ruta-goomba Thanks for this! Can you add a line to the readme under the Github section w/ a word about configuring for Github Enterprise?

@BSick7
Copy link

BSick7 commented Feb 2, 2016

I added an ehancement to @ruta-goomba PR allowing the alternative api base url for github enteprise @ ruta-goomba#2.

jehiah added a commit that referenced this pull request Feb 6, 2016
use Github provider with GitHub enterprise
@jehiah jehiah merged commit 36128e9 into bitly:master Feb 6, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Development

Successfully merging this pull request may close these issues.

3 participants