DerManoMann / ldap-auth-service-provider

A Silex Ldap authentication service provider
MIT License
5 stars 2 forks source link

RuntimeException in AbstractAuthenticationListener.php #22

Closed FranckParis closed 6 years ago

FranckParis commented 7 years ago

Hi ! I'm sorry if this isn't the right place to look for some help. I'm trying to make the ldap-auth-service-provider work in my Silex project and get the error :

RuntimeException in AbstractAuthenticationListener.php "This authentication method requires a session."

I think I don't properly use or installed your provider and don't know what's the source of this problem :

Concerning the forms and routes, I didn't really know what to do :

I guess it's absolutely not how it works though ...

Something is strange also : the "$app->register(new SecurityServiceProvider(), array(..." line generates a "class Class 'SecurityServiceProvider' not found" error. I have to add Silex\Provider\ in order to make the rest of the application work.

So many questions, I'm new with Symphony/Silex security and the Silex documentation isn't always really clear about custom providers.

Thanks in advance for your help and the time you gave to my request, Have a nice day.

DerManoMann commented 6 years ago

no activity so closing