It’s because you have customized the code of the plugin. In the main file of the plugin there should be space of one character between the two scopes https://www.googleapis.com/auth/userinfo.email https://www.googleapis.com/auth/userinfo.profile being used for the Google login.
i have not done any changes in the code of the plugin.
can you please guide me where can i find this file.
You can see this plugin working fine at the demo site https://super-socializer-wordpress.heateor.com/
You can search the scopes I mentioned in the previous post, in the super_socializer.php file.
i checked and i see the space is already there. do i need to change anything else
proof of file – https://ibb.co/QXCY6dS
Then you would like to try keeping only this plugin active for a while just to check if this makes any difference and if some other plugin is causing conflict. If it makes any difference, you can activate other plugins one-by-one and detect the one which is causing this. Once you do we can work on the resolution.
Open super_socializer.php
Find the line
wp_redirect("https://accounts.google.com/o/oauth2/auth?client_id=" . $theChampLoginOptions['google_key'] . "&scope=https://www.googleapis.com/auth/userinfo.email https://www.googleapis.com/auth/userinfo.profile&state=". $googleLoginState ."&response_type=code&redirect_uri=" . home_url());
die;
and put an : + between links , so the final code look like this :
wp_redirect("https://accounts.google.com/o/oauth2/auth?client_id=" . $theChampLoginOptions['google_key'] . "&scope=https://www.googleapis.com/auth/userinfo.email+https://www.googleapis.com/auth/userinfo.profile&state=". $googleLoginState ."&response_type=code&redirect_uri=" . home_url());
die;
-
This reply was modified 4 years, 8 months ago by
Bustean Dan.