github_v3_api icon indicating copy to clipboard operation
github_v3_api copied to clipboard

OAuth support

Open jameswilson opened this issue 13 years ago • 1 comments

Is this truly Github v3 API support?

Based on the code in the github.php class, it looks like this is just using v2 basic authentication with the user and v2 token password.

V3 of the Github api has dropped support for token based authentication.

See the blog post for more info.

jameswilson avatar May 03 '12 02:05 jameswilson

It will be, but it's been on hold for a while and will be a while longer, probably. I started the library while the github v3 API was in beta, and before they dropped HTTP basic auth altogether. It does support authentication with an OAuth token - see the test case at https://github.com/acoulton/github_v3_api/blob/develop/tests/Github/APITest.php#L297 but I haven't yet implemented either the Authorizations API or the browser-based flow.

acoulton avatar May 03 '12 20:05 acoulton