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

newer guzzle version leads to plugin not working #15

Open
mhaehnke opened this issue Jan 9, 2020 · 1 comment
Open

newer guzzle version leads to plugin not working #15

mhaehnke opened this issue Jan 9, 2020 · 1 comment

Comments

@mhaehnke
Copy link

mhaehnke commented Jan 9, 2020

when I tried to install MW-OAuth2Client on a freshly installed Mediawiki 1.34 in order to set up SSO with google, I got this error message:

Call to undefined function GuzzleHttp\_idn_uri_convert()

after some trial and error I found, that composer installed guzzlehttp/guzzle in version 6.5.2 (composer.json said ~6.x)

I changed this manually to 6.3.3 (the same version as installed by mediawiki itself) and now everything is working fine

@ma-zal
Copy link

ma-zal commented Aug 5, 2021

I found that helps the library league/oauth2-client migration from 2.0 to 2.6.

It is because in 2.6 updated dependency guzzlehttp/guzzle from ^6.0 to: ^7.0, where error was fixed.

I have tested it by forked lib https://github.com/sharchenko/MW-OAuth2Client/ (branch updated_oauth2_client_version).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants