tan-tan-kanarek / github-php-client

MIT License
184 stars 120 forks source link

GitHubOauth Problems #63

Closed depasite closed 9 years ago

depasite commented 9 years ago

Hi there I keep getting 401 response when using

$client = new GitHubClient(); $client->oauth->createNewAuthorization($clientId);

Same with webApplicationFlow:

I tried Oauth manually and it works fine. Am I missing somethings or is there a problem?

tan-tan-kanarek commented 9 years ago

The entire oauth service was auto-generated and never tested, I fixed it now to support the latest actions: https://github.com/tan-tan-kanarek/github-php-client/pull/64. Please retry.

depasite commented 9 years ago

Hi Thanks for the update. Still not having any luck Both getAingleAuthorization and createNewAuthorization

Still giving me 401 back. Caught exception: Expected status [201], actual status [401], URL [/authorizations]

tan-tan-kanarek commented 9 years ago

Could you please share your code?

depasite commented 9 years ago

Do you have skype?

depasite commented 9 years ago

Please add me on skype pedri.oosthuizen