yiisoft / yii2-docker

Official Docker images suitable for Yii 2.0
https://www.yiiframework.com/
BSD 3-Clause "New" or "Revised" License
381 stars 202 forks source link

Missing support for the new GitHub OAuth tokens #125

Closed golubev closed 3 years ago

golubev commented 3 years ago

Hi! I got a new GH token string that looks like "ghp_xxxx" (while my old GH token is simply a hex string) and ran into the same issue as described here -https://github.com/composer/composer/issues/8314#issuecomment-811756365

  [UnexpectedValueException]                                                                                      
  Your github oauth token for github.com contains invalid characters: "ghp_xxxxxxxx"  

Composer release 1.10.21 fixes this issue - https://github.com/composer/composer/releases/tag/1.10.21

schmunk42 commented 3 years ago

fixed in PR

Elma0314 commented 3 years ago

Many thanks, could you give some details for updateting composer in Magento 2. For example, where should I put this conposer files to in the following link that you recommended.

https://github.com/composer/composer/releases/tag/1.10.21

schmunk42 commented 3 years ago

@Elma0314 You should ask this question in a Magento Forum I think.

Elma0314 commented 3 years ago

@golubev could you give any tips fot this , thanks .

golubev commented 3 years ago

Hello @Elma0314. Sorry, but I'm not familiar with Magento at all.