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.
Make sure to setup you own event function and to have it return false in order to interrupt the redirection. Inside of the event function you can then extract the user data from the function parameters.
Answers
yes, you can use the on_login_redirect event:
http://docs.oneall.com/api/javascript/library/events/#on_login_redirect
Make sure to setup you own event function and to have it return false in order to interrupt the redirection.
Inside of the event function you can then extract the user data from the function parameters.