Social login doesn't work on phpbb 3.3.0

Hi everybody. There's some bug into the 3.4 version that makes no compatible your plugin with the new version of phpbb 3.3.0.

Because when you install the plugin it makes an exception and it does't work property.

Can you release the fixed version of it? Thank you.

Best Answer

  • edited February 19 Answer ✓

    you must alter the services.yml and the auth.yml in the config folder.
    The solution is to put double quotes around the "@arguments ". Mine works using the config shown below. note that the arguments with a % sign do not get the quotes around them.

    Auth.yml:


    services:
    auth.provider.oneall:
    class: oneall\sociallogin\auth\provider\oneall
    arguments:
    - "@dbal.conn"
    - "@config"
    - "@passwords.manager"
    - "@request"
    - "@user"
    - "@service_container"
    - %core.root_path%
    - %core.php_ext%
    tags:
    - { name: auth.provider }


    Services.yml


    services:
    oneall.sociallogin.listener:
    class: oneall\sociallogin\event\listener
    arguments:
    - "@config"
    - "@config_text"
    - "@controller.helper"
    - "@request"
    - "@template"
    - "@user"
    - %core.root_path%
    - %core.php_ext%
    tags:
    - { name: event.listener }

    imports:
    - { resource: auth.yml }

Answers

Sign In or Register to comment.