Hi, We want to use OneAll on an HTML5 mobile app. When Google authenticates by opening a new window, this is not visible to our mobile app users. Is it possible to have the authentication take place in the same window? Thanks, Josh
Hi Claude, We are using the WordPress plugin in a WordPress installation. How can we set popup usage when using the plugin? Thanks for your quick reply! Josh
Answers
if you are using our JavaScript implementation you can use the following method:
http://docs.oneall.com/api/javascript/library/methods/social-link/#set_popup_usage
If the app is being distributed and running on the end-user's device, then you should choose a different implementation:
http://docs.oneall.com/services/implementation-guide/mobile-devices/
We are using the WordPress plugin in a WordPress installation.
How can we set popup usage when using the plugin?
Thanks for your quick reply!
Josh
for WordPress you must edit the following file of the plugin:
includes/user_interface.php
Then please look for this line:
$output [] = " _oneall.push(['social_login', 'set_custom_css_uri', '" . $css_theme_uri . "']);";
And add this line below:
$output [] = " _oneall.push(['social_login', 'set_popup_usage', 'never']);";
Regards,