Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to reset github oauth token in composer?

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?

like image 878
liyooooooooo Avatar asked Nov 05 '25 16:11

liyooooooooo


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.

like image 161
Elsa Jihan Salsabilla Avatar answered Nov 07 '25 09:11

Elsa Jihan Salsabilla



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!