Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GitHub auth.json über Manager generieren [Feature] #535

Open
contaoacademy opened this issue Mar 24, 2020 · 9 comments
Open

GitHub auth.json über Manager generieren [Feature] #535

contaoacademy opened this issue Mar 24, 2020 · 9 comments
Labels
Milestone

Comments

@contaoacademy
Copy link

Fehlermeldung
Could not authenticate against github.com

Lösung
GitHub > Developer-Settings -> Personal Access Token
auth.json anlegen und in /contao-manager speichern

Feature
Es wäre hilfreich, wenn der AccessToken direkt über den Contao Manager hinterlegt werden könnte.

@frontendschlampe
Copy link

Was noch zusätzlich als Meldung kommt:

Installing php-http/guzzle6-adapter (v1.1.1): Downloading    Failed to download php-http/guzzle6-adapter from dist: Could not authenticate against github.com
    Now trying to download from source

@iGweb
Copy link

iGweb commented Mar 30, 2020

Hello,

I have exactly the same error message as you do on an installation.
Unable to install contao via manager.
I get the following error message: "Could not authenticate against github.com"

Have you found a solution to the problem?

Thank you

@Toflar
Copy link
Member

Toflar commented Mar 30, 2020

GitHub has admitted that they deployed changes. See composer/composer#8710.
I expect things to get back to normal soon.

@iGweb
Copy link

iGweb commented Mar 31, 2020

Hello,

Thank you for your reply.
Until this returns to normal, is there a temporary solution to be able to install modules with contao-manager?

Thanks for your help

@contaoacademy
Copy link
Author

Hello,

Thank you for your reply.
Until this returns to normal, is there a temporary solution to be able to install modules with contao-manager?

Thanks for your help

https://contao-academy.de/blog/authentifizierung-github-access-token-contao-manager

@iGweb
Copy link

iGweb commented Mar 31, 2020

Merci :)

@contaoacademy
Copy link
Author

https://developer.github.com/changes/2020-02-10-deprecating-auth-through-query-param/

Ist dieser Hinweis relevant?
Müsste hier etwas am Manager geändert werden?

@aschempp
Copy link
Member

aschempp commented May 6, 2020

Nein
1: der Manager greift nie selber auf GitHub zu, das macht alles Composer
2: ich wage zu behaupten dass nie Query Auth genutzt wurde

@Toflar
Copy link
Member

Toflar commented May 6, 2020

Doch, das wurde in Composer 1.9.3 im Januar gefixt: composer/composer@460c673

@aschempp aschempp added this to the 1.x milestone Jul 1, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

5 participants