Skip to content

Instantly share code, notes, and snippets.

@Muetze42
Last active January 21, 2022 08:37
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Muetze42/71f7d33b9d65410d613a490a609e69a3 to your computer and use it in GitHub Desktop.
Save Muetze42/71f7d33b9d65410d613a490a609e69a3 to your computer and use it in GitHub Desktop.
Your GitHub OAuth token for github.com contains invalid characters on composer install
// `nano ~/.composer/auth.json`
//
// Basic- and OAuth:
{
"http-basic": {
"github.com": {
"username": "[GITHUB-USERNAME]",
"password": "ghp_[PERSONAL-TOKEN]"
},
"nova.laravel.com": {
"username": "name@example.com",
"password": "[PASSWORD]"
}
},
"github-oauth": {
"github.com": "ghp_[PERSONAL-TOKEN]"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment