clockfort / GitHub-Backup

Backup all the repositories of a github user or organization automatically.
Creative Commons Zero v1.0 Universal
359 stars 103 forks source link

add support for OAuth tokens #11

Closed jsleeio closed 10 years ago

jsleeio commented 11 years ago

Hi,

Added support for GitHub OAuth tokens. Works for me, even though I don't know any Python

In Perl when using Net::Github I noticed that

  1. authentication via OAuth does not require specification of a username, and
  2. the Github API can be used to find out the username after authentication

So maybe there is more that can be done here

Thanks for sharing!

John