Skip to content

Instantly share code, notes, and snippets.

@Swop
Created March 16, 2014 19:04
Show Gist options
  • 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