$request_port = (!in_array ($request_port, array (80, 443)) ? $request_port : '');
$request_port = (!in_array ($request_port, array (80, 443, 10033)) ? $request_port : '');
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
could you please post a link to the page where we can reproduce the error?
Regards,
thanks,
magnus
for me the login works, then however I am being redirected to an url like this (which fails):
http://prod-blog.exporeal.net:10033/de/muenchen-tipp-bier-eis-und-die-wilde-isar/#comments
Please note the :10033 port in the url.
Is your server behind a proxy?
Regards,
thanks for investigating. I had this redirection path (including the port 10033) after I switched the option "Restrict connection_tokens to a one-time usage ?" under Settings > API Settings > Advanced API Settings from the recommended value to the value "No, connection_tokens may be read to a one-time usage". After switching back everything was fine for (linkedIn & google+).
Now you tried to login and something you are getting redirected to the same url (including this proxy port 10033). I know that teh hoster are using reverse proxy settings. I contacted them to get more information about proxy settings and hosting settings.
Can I set this proxy settings someweher in the oneall.com configuration?
Thanks,
Magnus
great, this seems to work. I will need to double check, i
I am not the deep dive wiordpress/php developer. Is there a way that I can hook into this funtion to set the additional value for remoiving certain ports in function.php
There is a filter included in the Oneall plugin which will allow you to change the URL from the functions.php file, the filter call is:
apply_filters ('oa_social_login_filter_current_url', $current_url)
Regards