Skip to content
This repository was archived by the owner on Feb 1, 2023. It is now read-only.

The HTTP auth methods do not work #17

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

The HTTP auth methods do not work #17

zanmoskotevc opened this issue Aug 8, 2011 · 2 comments

Comments

@zanmoskotevc
Copy link

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
Copy link

Stroff commented Nov 1, 2011

In my case AUTH_HTTP_PASSWORD works fine.

@jdlx
Copy link

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 referenced this issue in m4tthumphrey/php-github-api Nov 13, 2012
Add fall back message for custom error messages
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants