No way To log in via Facebook or Google Oauth

Do not post support requests, bug reports or feature requests. Discuss phpBB here. Non-phpBB related discussion goes in General Discussion!
Anti-Spam Guide
Post Reply
User avatar
superdan77
Registered User
Posts: 55
Joined: Wed Mar 29, 2023 3:14 pm
Contact:

No way To log in via Facebook or Google Oauth

Post by superdan77 »

Distributor ID: Debian
Description: Debian GNU/Linux 10 (buster)
Release: 10
Codename: buster

and phpBB 3.3.10 WITH PHP 7.3 FPM

There is NO way I can log in/register as a new user using Google OAuth or Facebook OAuth (I'm talking about native phpBB mode, no external plugins).
When I click on the buttons it sends me to the Facebook or Google login pages, I log in, then back to the phpBB login page without anything happening.
The FB and Google apps are correctly configured and the redirect pages are correctly configured.
The board login return url is (i.e. for Google)

Code: Select all

ucp.php?mode=login&login=external&oauth_service=google&state=11422c69ec1e22a0ef9e0e203f24a92c&code=4%2F0AbUR2VPhzsTahYO-1NGVwIZvNbAC7zMKnsQaUGY7kQjAYLJwLUuZsUKwORH4zXwYKPFAuw&scope=email+profile+https%3A%2F%2Fwww.googleapis.com%2Fauth%2Fuserinfo.email+https%3A%2F%2Fwww.googleapis.com%2Fauth%2Fuserinfo.profile+openid&authuser=0&prompt=consent
but absolutely nothing happens.
also it gives me an error in the login page:

Code: Select all

Si è verificato un errore durante l’elaborazione della tua richiesta OAuth.

but it is really too generic to understand what went wrong. In addition, the Apache2 logs report no related errors ( the only error is about a phantomatic cron not found in root).

Code: Select all

51.158.230.211 - - [28/Apr/2023:16:36:08 +0200] "GET /ucp.php?mode=login&login=external&oauth_service=google&state=7ceb2551f2cdff14ec69037badba2bd9&code=4%2F0AbUR2VNLRRWfisbxVfdejn6jizEgqMjY7Dr0aoRgOK3kkF5F8taNrwUSY7XNr2n4_0tZuA&scope=email+profile+https%3A%2F%2Fwww.googleapis.com%2Fauth%2Fuserinfo.email+https%3A%2F%2Fwww.googleapis.com%2Fauth%2Fuserinfo.profile+openid&authuser=0&prompt=consent HTTP/1.1" 200 10852 "https://accounts.google.com/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/112.0.0.0 Safari/537.36"

==> /var/www/www.myforum.it/var/log/error.log <==
[Fri Apr 28 16:36:08.441678 2023] [negotiation:error] [pid 11123] [client 51.158.230.211:46916] AH00687: Negotiation: discovered file(s) matching request: /var/www/www.myforum.it/web/cron (None could be negotiated)., referer: https://www.myforum.it/ucp.php?mode=login&login=external&oauth_service=google&state=7ceb2551f2cdff14ec69037badba2bd9&code=4%2F0AbUR2VNLRRWfisbxVfdejn6jizEgqMjY7Dr0aoRgOK3kkF5F8taNrwUSY7XNr2n4_0tZuA&scope=email+profile+https%3A%2F%2Fwww.googleapis.com%2Fauth%2Fuserinfo.email+https%3A%2F%2Fwww.googleapis.com%2Fauth%2Fuserinfo.profile+openid&authuser=0&prompt=consent

==> /var/www/www.myforum.it/var/log/access.log <==
51.158.230.211 - - [28/Apr/2023:16:36:08 +0200] "GET /cron/cron.task.core.tidy_search HTTP/1.1" 404 458 "https://www.myforum.it/ucp.php?mode=login&login=external&oauth_service=google&state=7ceb2551f2cdff14ec69037badba2bd9&code=4%2F0AbUR2VNLRRWfisbxVfdejn6jizEgqMjY7Dr0aoRgOK3kkF5F8taNrwUSY7XNr2n4_0tZuA&scope=email+profile+https%3A%2F%2Fwww.googleapis.com%2Fauth%2Fuserinfo.email+https%3A%2F%2Fwww.googleapis.com%2Fauth%2Fuserinfo.profile+openid&authuser=0&prompt=consent" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/112.0.0.0 Safari/537.36"
No javascript console log errors too

Thanks
For very private msg, please contact me with the form @ https://www.cdlab.it
Post Reply

Return to “phpBB Discussion”