zl4bv / CakePHP-simpleSAMLphp-Plugin

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

Error: Call to undefined method SamlAuthenticate::unauthenticated() File: /Users/teammember/Sites/sicake/lib/Cake/Controller/Component/AuthComponent.php Line: 345 #1

Closed smichaelp closed 10 years ago

smichaelp commented 10 years ago

I'm new to Cake and simpleSAMLphp. I have simpleSAMLphp running properly because I have it working with WordPress SSO Plugin.

So, I'm trying to figure out why I get this error when I follow your directions. Is the newest version of Cake too new for this plugin?

Error: Call to undefined method SamlAuthenticate::unauthenticated() File: /Users/teammember/Sites/sicake/lib/Cake/Controller/Component/AuthComponent.php Line: 345

zl4bv commented 10 years ago

Thank you for taking the time to report this issue.

As you say, Cake has introduced new features in Cake 2.4 that this plugin does not support.

I have added the new functionality to the plugin. Please test that it works with your application and provide feedback so that I can confirm that this issue has been resolved.

smichaelp commented 10 years ago

Thanks! It seems to be working better now. I was able to get it to work per controller method yesterday. But, I went ahead and tested out your updates and all is well.

public $components = array('Saml.Saml');