ok, j'ai déjà trouvé un truc : je n'avais pas renseigné les
Maintenant : j'ai le problème suivant :
InvalidConfigurationException: Unrecognized option "firewall_name" under "hwi_oauth"
je cherche....
Bonjour,
J'intègre la solution de connexion réseaux sociaux dans FOSUSERBUNDLE avec le bundle HWIOAuthBundle
mais j'ai l'erreur suivante :
InvalidTypeException: Invalid type for path "hwi_oauth.resource_owners.facebook.client_id". Expected scalar, but got array.
Merci d'avance pour votre aide, ...
voici mon code :
SECURITY.YML
ENTITY UTILISATEURS :
CONFIG.YML
ok, j'ai déjà trouvé un truc : je n'avais pas renseigné les
Maintenant : j'ai le problème suivant :
InvalidConfigurationException: Unrecognized option "firewall_name" under "hwi_oauth"
je cherche....
Le probleme est réglé :
j'ai remplacé firewall_name: main par firewall_names : [secured_area] dans le config.yml
maintenant le message suivant apparaît :
ScopeWideningInjectionException: Scope Widening Injection detected: The definition "hwi_oauth.registration.form.handler.fosub_bridge" references the service "fos_user.registration.form.handler.default" which belongs to a narrower scope. Generally, it is safer to either move "hwi_oauth.registration.form.handler.fosub_bridge" to scope "request" or alternatively rely on the provider pattern by injecting the container itself, and requesting the service "fos_user.registration.form.handler.default" each time it is needed. In rare, special cases however that might not be necessary, then you can set the reference to strict=false to get rid of this error.
Une idée ?