Skip to content

Instantly share code, notes, and snippets.

@Swop
Created March 16, 2014 19:04
Show Gist options
  • Star 6 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Swop/9588180 to your computer and use it in GitHub Desktop.
Save Swop/9588180 to your computer and use it in GitHub Desktop.
Composer with GitHub Two Factor Authentication
Composer doesn't work with GitHub Two Factor Authentication.
You have to generate a token (with "repo" scope at least) at https://github.com/settings/applications
Copy the token and keep it somewhere safe.
Run: composer config -g github-oauth.github.com paste-your-token-here
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment