_oneall.push(['social_login', 'set_popup_usage', 'always']);
to the JS file (is it oneall.js?).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.
Answers
Yes, this is definitely the wrong callback.
Are you getting the 404 for all social networks?
Is there a URL for your website, and could you tell if you are using a specific Oneall plugin?
Thanks.
The website is https://usopen2016.fishsoftware.com/prereg.
I have narrowed down the problem quite a bit since yesterday. I am trying to disable the redirect to the set_callback_uri by returning false in my 'my_on_login_redirect' JS function to cancel the redirect (which is why the default "http://www.oneall.com/callback/" is still in the code—leftover from the working example here: https://docs.oneall.com/api/javascript/library/methods/).
In desktop browsers, I am able to cancel the redirect by returning false and still get the connection token to pass to our own server call, which returns with OneAll's social login data for the user and proceeds with a callback method to prepopulate our registration form with that information.
In mobile browsers, however, the redirect happens regardless of the boolean value returned in my_on_login_redirect, which causes it to redirect to a page we do not want. I tried passing an empty callback uri in the hopes that the default behavior would be not to redirect at all, but no luck.
You can see how we are implementing OneAll in this file: https://usopen2016.fishsoftware.com/prereg/js/oneall.js
Indeed, the redirect does work in desktop. We'll try in mobile.
But, are you sure there isn't any custom code for mobile?