Validating social login with AJAX

Is there any way to validate the social login with an AJAX call to my app endpoint instead of redirecting the webpage? I have a form which needs to be filled out on the login page and submitted after the social login is validated. This means the user doesn't lose their entered form if there is a problem with their login.

Best Answer

  • Answer ✓
    fyi... Claude responded to me offline.

    this line must be called last:
    _oneall.push(['social_login', 'do_render_ui', 'oa_social_login']);

    This solved the issue. Thanks!

Answers

Welcome!

Please sign in to your OneAll account to ask a new question or to contribute to the discussions.

Please click on the link below to connect to the forum with your OneAll account.