stevenmaguire / oauth2-keycloak

Keycloak Provider for OAuth 2.0 Client
MIT License
204 stars 151 forks source link

Guzzle >= 7 breaks #49

Closed ggutenberg closed 2 years ago

ggutenberg commented 2 years ago

We're using this package in a WP plugin, and Guzzle 7.x is in use on the site. This causes fatal errors due to a deprecated call in Guzzle 6.x.

Solution: Upgrade theleague/oauth2-client >= 2.5.0. https://github.com/thephpleague/oauth2-client/commit/06c70e6d37ed5e2947ec69eab0d5f8a61b460c7f

I'm not sure of the implications of doing this, nor why the current version is locked to < 2.3.0.

kamilHipsz commented 2 years ago

Hi, I've also faced problems with "league/oauth2-client": "^2.0 <2.3.0". Is there any reason why it's locked to 2.3? It was commited in https://github.com/stevenmaguire/oauth2-keycloak/commit/2b73d4f028d51be036cbb9a2ef80edea9eba3cb4#r28131310

mstefan21 commented 2 years ago

Change for only ^2.0 is published as 3.1.0 version