How to reset github oauth token in composer?

Viewed 1916

Im having a problem when using composer install because of this

enter image description here

I tried finding the auth.json file but the credentials don't exist there. How can I reset the GitHub OAuth token in the composer?

1 Answers

You can run this to reset the GitHub OAuth token in the composer:

composer config -g --unset github.oauth.github.com

This solved the issue for me.

Related