zl4bv / CakePHP-simpleSAMLphp-Plugin

Adds support for SAML authentication to CakePHP 2.x.
12 stars 8 forks source link

Question: Support For CakePHP 2.6.x ? #12

Open yodelx opened 5 years ago

yodelx commented 5 years ago

For updating cakePHP 2.10(for PHP7.x support) This plugin worked for my CakePHP2.4.5 but for CakePHP2.6.0 didn't.

2019-03-12T15:13:17+09:00 ERROR - [InvalidArgumentException] The eventKey variable is required
Stack Trace:
#0 /var/www/html/test/lib/Cake/Controller/Component/AuthComponent.php(818): CakeEventManager->attach(Object(SamlAuthenticate))
#1 /var/www/html/test/lib/Cake/Controller/Component/AuthComponent.php(695): AuthComponent->constructAuthenticate()
#2 /var/www/html/test/lib/Cake/Controller/Component/AuthComponent.php(305): AuthComponent->_getUser()
#3 /var/www/html/test/lib/Cake/Utility/ObjectCollection.php(129): AuthComponent->startup(Object(MainMenuController))
#4 /var/www/html/test/lib/Cake/Event/CakeEventManager.php(243): ObjectCollection->trigger('startup')
#5 /var/www/html/test/lib/Cake/Controller/Controller.php(683): CakeEventManager->dispatch(Object(CakeEvent))
#6 /var/www/html/test/lib/Cake/Routing/Dispatcher.php(189): Controller->startupProcess()
#7 /var/www/html/test/lib/Cake/Routing/Dispatcher.php(167): Dispatcher->_invoke(Object(MainMenuController), Object(CakeRequest))
#8 /var/www/html/test/app/webroot/index.php(117): Dispatcher->dispatch(Object(CakeRequest), Object(CakeResponse))

Do support this Plugin (forCakePHP=>2.6.0)? I would appreciate if you could point out anything to me. Pardon my broken English.