Composer + Trellis + Bedrock Private Composer Repositories

@alwaysblank It was a couple of years ago, I just followed this guide and everything went smooth.
I think that the GitHub OAuth token wasn’t there yet, it was not a requirement yet.
during these years, I never updated that private plugin, but only wordpress and the other plugins via wpackagist-plugin, the problems started with I tried to update the private plugin.

do you know if this Delicious Brains’ composer repo example should work with GitHub private repo?
is there an extra step that I should consider?

@Twansparant if I run composer diagnose from /srv/www/websitexxxx/current, I can see the same error [UnexpectedValueException] Your github oauth token for github.com contains invalid characters: "ghp_xxxxxxxxx"
the same thing happens if I run composer install or composer update

is there a way to say to composer on the remove server that it needs to reset/delete the old github oauth token because it is not more valid so I can try to give him a new github oauth token? (not sure if this is the problem)

I am stuck with this error, what else I could try?

any other suggestion would be welcome.