In Composer 1.10.21 a patch was introduced for an issue related to the new OAuth token format that GitHub started using. https://github.com/composer/composer/commit/dc83ba93f3d8a35629f9a387632e8cd373a144d0