SocialConnect/auth

Dependecy issue CakePhp 4.x

ff-springcard opened this issue · 1 comments

Hey!

Issue

Through ADmad/cakephp-social-auth, cakephp-social-auth requires psr/simple-cache ^1.0
but cakephp/cakephp ^4.0 requires psr/simple-cache ^2.0

Could you update composer.json file to psr/simple-cache ^1.0 || ^2.0 please.

My env

PHP: 8.1

Library: cakephp/cakephp ^4.0 ; ADmad/cakephp-social-auth ^1.0 ; SocialConnect/cakephp-social-auth

Provider: None

Provider options:

[
    'options' => []
];

Thanks 😺

ADmad commented

CakePHP supports both v1 and v2 of simple cache https://github.com/cakephp/cakephp/blob/83c646f8f17bafb88fd25027c95bce932674eec8/composer.json#L38

You should upgrade your CakePHP to latest 4.x release.

That said updating auth to support v2 too of PSR libs would be good.