Skip to content
This repository has been archived by the owner on Feb 5, 2018. It is now read-only.

teachers_pet/github asking for username/password even with token #91

Open
meling opened this issue Oct 13, 2014 · 3 comments
Open

teachers_pet/github asking for username/password even with token #91

meling opened this issue Oct 13, 2014 · 3 comments
Labels

Comments

@meling
Copy link

meling commented Oct 13, 2014

Even though I have defined the TEACHERS_PET_GITHUB_TOKEN env. variable, github now insists on asking me for my username and password.

This used to work perfectly fine without this interactivity a few weeks ago. I'm not sure what can be the source of this problem; the main change that I've done is to upgrade to Yosemite OS X beta, presumably with a newer version of Ruby installed (Ruby 2.0.0p481). I've also made sure to update my teachers_pet installation.

Anyone know what might be the cause of this problem?

(Right now, It makes my life very hard, having 40ish student repos to clone).

@kelleydv
Copy link
Contributor

Try generating a new ssh key and see if that works.

@afeld
Copy link
Contributor

afeld commented Oct 13, 2014

I need to look into this more deeply, but the commands that use Git (versus the API) under the hood will be trying to use your SSH key. I couldn't find if the help docs say this explicitly, but I think the token can be swapped in for the password when using Git.

@afeld afeld added the bug label Oct 13, 2014
@subhankar94
Copy link

any updates?

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

No branches or pull requests

4 participants