We are glad to welcome you to our Community Support Forums!
These forums are your way of communicating with the community of people developing and using tools provided by the OneAll platform.
The forums are run by the community and moderated by the OneAll team during office hours. Please stick to technical issues - and remember, no confidential information - these are public forums!

Issues with multiple logins - social accounts

Currently my site has issues when I try to test multiple social logins.
If I login with a non social linked account, I can login and logout without issues.
When I attempt to login with multiple social network accounts, it will not login.

If I have tried no other logins (either social or otherwise) every social login will work.
I have recently changed to https, and wonder if this is an issue with some of the api's created, and needing to update to https for allowed request domains.

My site is https://bbs4you.com

Answers

  • edited March 21
    Hi Brett,

    I just tried to login and got a big debugging message with my Facebook profile data.
    I think that somewhere in your code you have forgotten a var_dump or print_r.

    Regards,

  • Sorry about that, had been collecting a list of what items were available from each social network we had enabled to know what could be put directly into the profile fields, and I'd left the var_dump enabled over night.

    I have removed that, and you should be able to test again - I have removed your account, so you can try this again
  • Hi Brett,

    I have the same issue. Have you modified the file /includes/communication.php of the plugin?
  • No, I don't believe I have, I try to avoid modifying files in plugins where I can, and use hooks/filters to achieve what I need. Would it be advisable to remove the plugin and place back in again?

    So I could control how the social network icons were labelled, I have used javascript to insert them into the page, rather than use a short code.
    I use the following code to do so(gathered from your site when customising it) - I this instance I have added in a _2 so I could have separate div's showing at the same time of the login icons:


    var _oneall = _oneall || [];
    _oneall.push(['social_login', 'set_callback_uri', window.location.href]);
    _oneall.push(['social_login', 'set_providers', [ 'amazon', 'facebook', 'google', 'linkedin', 'windowslive']]);
    _oneall.push(['social_login', 'do_render_ui', 'oa_social_login_2']);
Sign in with your OneAll account to take part in the discussion.