This topic is locked

problems with facebook and google connect

4/28/2023 12:13:35 PM
PHPRunner General questions
T
telematics author

dear phprunner community,
I tried to include the facebook and the google connect method into the login page of my phprunner projects and followed all steps according to the documentation. but both connection methods dont work. each of them stops in one of the following errors:
Google: after entering the credentials into the popup, the popup disappears and on the login page the message "popup_closed_by_user" appears. in the database there is no additional record created.
Facebook: after entering the credentials into the popup, the popup disappears and the login page tries to redirect to the page "<URL>/user_list.php?a=return&" but this page does not exist in my project. in the database one new record with my email and the ext_security_id is created.
I am using an external https-web server, working with phprunner 10.6 and 10.8 even when I try different web browsers, different fb and google accounts, everytime the same issue.
my question: what could be wrong in my settings or where I have to add some more code?
regards,
Helmut

Sergey Kornilov admin 4/29/2023

It looks like you are using an old version of PHPRunner. Google retired their old 'login via Google' scheme starting in April 2023 and you need PHPRunner 10.9 or better to make it work. More info:
https://developers.google.com/identity/sign-in/web/sign-in
I assume that the same thing applies to Facebook connect.

T
telematics author 4/29/2023

thank you for the answer. this makes sense about my google connect issue!
but I dont think so about the problem with the facebook method. the registration is actually working because I got a new record in the database. also I was been notified in my facebook account that I was registered at an external app. the only problem is that I will be redirected to a non-existent page "<URL>/user_list.php?a=return&". maybe I just need to change this address, but dont know where.
regards
Helmut

E
exora 8/27/2023

I have the same issue after upgrade to 10.9 and 10.91.
My web app can't login with google account.
So I still modify my app with phpr 10.8