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

Enable for use with GitHub enterprise #195

Closed
wants to merge 19 commits into from

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.

@ploxiln
Copy link
Contributor

ploxiln commented Jan 20, 2016

These changes look nice and minimal. I'm not the one who decides if this is merged, but I think there are two small steps you need to take before this is merged:

  • you changed the tab before the comment // https://developer.github.com/v3/orgs/#list-your-organizations to spaces, change it back to tab
  • squash all these commits down into one commit (with an "interactive rebase")

jehiah and others added 19 commits January 21, 2016 19:40
By setting this to "force", certain providers, like Google,
will interject an additional prompt on every new session. With other values,
like "auto", this prompt is not forced upon the user.
The path should be provided as a file:// url with the full operating system path.
An alias to where the directory is available as can be specified by appending
a fragment (ie. "#/static/") at the end of the URL.
The default `error.html` uses `ProxyPrefix` but it isn't supplied in the context, causing it to error.
Go coding style says that acronyms should be all lower or all upper. Fix
Url to URL.
Be consistent with Go coding style for acroynyms.
Be consistent with Go capitalization styling and use a single way of
spelling this across the tree.
Google changed to developer console UI, updated walkthrough to match new UI.
adding enterprise github provider

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

remove pointers to fork files

removing comment changes and cookie error output changes

replace spacing changes
@ruta-goomba
Copy link
Author

Closing this to sort out the interactive rebase.

@johntdyer
Copy link

@ruta-goomba did you ever do the rebase?

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.