Skip to content
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

Creating an authentication key only works with github.com #59

Open
samgiles opened this issue May 17, 2013 · 0 comments
Open

Creating an authentication key only works with github.com #59

samgiles opened this issue May 17, 2013 · 0 comments
Labels

Comments

@samgiles
Copy link

We have an enterprise installation.

If we put the endpoint string in the API field, save the form, then try and generate an access token using some credentials, it attempts to authenticate against github.com.

I took a quick look at the source. And it appears to be that the createToken method calls the GitHub.connect method and doesn't take into account enterprise.

I'm in the process of creating a pull request. My current idea is to create a connect method on the GhprbGithub class that correctly delegates to the enterprise connection methods in org.kohsuke.github.GitHub. Any feedback would be appreciated.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants