cancel
Showing results for 
Search instead for 
Did you mean: 

Uncaught UnexpectedValueException: Your github oauth token for github.com contains invalid characte

Uncaught UnexpectedValueException: Your github oauth token for github.com contains invalid characte

 

 Magento-cloud Pro version 2.4.0

 

'W: PHP Fatal error: Uncaught UnexpectedValueException: Your github oauth token for github.com contains invalid characters:in /app/vendor/composer/composer/src/Composer/IO/BaseIO.php:129'

 

Hi, I have a problem when I want to implement the staging environment. Start to deploy and the problem arises with the git token, so I was reading the composer version https://github.com/composer/composer/releases/tag/1.10.21  it supports this problem, but in the environment I have Composer version 1.9.2 installed. from what i read in the following documentation (https://devdocs.magento.com/cloud/project/magento-app-properties.html#type-and-build), magento brings the latest 1x version available. Why isn't it, and how should Composer be updated in the Magento-cloud staging and production environment?

 

Thansk!

 

Daniel