Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

The HTTP auth methods do not work #17

Open
zanmoskotevc opened this Issue Aug 8, 2011 · 2 comments

Comments

Projects
None yet
3 participants

I just tried this lib and I cannot seem to get the AUTH_HTTP* methods to work. Any ideas what might be wrong?

I keep getting a 401 error and I tried the PASSWORD and the TOKEN method with no success. Has HTTP support been removed? I cannot seem to find any record of it...

Stroff commented Nov 1, 2011

In my case AUTH_HTTP_PASSWORD works fine.

jdlx commented Jan 15, 2012

@zanmoskotevc make sure the action(s) you're trying to do after authentication are indeed correct and/or allowed in the given auth context.. the authentication method itself only stores your credentials for the actions taken afterwards (correct my if i'm wrong). So your auth might be correct in terms of credentials, but still a following action might not be allowed, and you'll get a 401..

@m4tthumphrey m4tthumphrey referenced this issue in m4tthumphrey/php-github-api Nov 13, 2012

@stloyd stloyd Merge pull request #17 from m4tthumphrey/master
Add fall back message for custom error messages
22c1d08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment