Github Outh Token not working

Hi Team,

I have my project in magento 2.3.3 and I am upgrading it to Magento 2.4.2.
In auth.json file I want to add github token generated from the link
But the token is not working when I am adding the same in mu auth.json file.

Error I am getting : Your github oauth token for contains invalid characters: “token removed by mods

Please guide on this asap.

Thanks in advance.

You just posted a secret token publicly, please revoke it immediately and generate a new one! :warning:

As for the error, GitHub recently changed the token format and significantly expanded the range of possible characters, see here:

I assume the validation code needs to be updated to accept the new token format.