Skip to content

Support web-based OAuth flow for Enterprise authentication #384

Open
misilot opened this Issue Aug 26, 2013 · 4 comments

2 participants

@misilot
misilot commented Aug 26, 2013

Hi,

I am trying to use with GitHub Enterprise, however it keeps asking for a username and password. We are using the CAS backend.

Thanks!

@mislav
GitHub member
mislav commented Aug 26, 2013

I don't know what a CAS backend is. GitHub has two different types of authentication:

  1. the git authentication to get access to repos (usually by SSH keys);
  2. the website/API authentication (first by username/password, then via OAuth).

hub uses GitHub API, so it needs to exchange your username/password for OAuth keys. This has nothing to do with git protocol over SSH, and SSH keys can't help here.

I suspect that whatever CAS is, it means you don't have a regular GH Enterprise username/password that you can pass on the command-line. Not sure how to work around this

@misilot
@mislav
GitHub member
mislav commented Aug 26, 2013

Here's a person who had the same issue and solved it manually #293 (comment)

I understand that this is hackish and confusing. I'll look into how to support the web-based OAuth flow in case there's no username/password. However, in the meantime you're on your own

@misilot
@mislav mislav added the feature label Dec 23, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.