The user factory is by default trying to execute onSamluserCreated and onSamluserModified which are not available in the default classes UserCreatedListener and UserModifiedListener
See the error (on 1.6.2 and Sf 3.4):
Warning: call_user_func() expects parameter 1 to be a valid callback, class 'Hslavich\OneloginSamlBundle\EventListener\User\UserCreatedListener' does not have a method 'onSamluserCreated'
What would you prefer ? Renaming the method or changing the listener definition like this:
The user factory is by default trying to execute
onSamluserCreated
andonSamluserModified
which are not available in the default classesUserCreatedListener
andUserModifiedListener
See the error (on 1.6.2 and Sf 3.4):
What would you prefer ? Renaming the method or changing the listener definition like this:
Basically, adding the
method
attribute on the listener tags.