Oauth2 Authentification Process

POP Peeper: Tech support, suggestions, discussion, etc.
Post Reply
ejvs2025
Posts: 4
Joined: Fri Feb 14, 2025 1:49 pm

Oauth2 Authentification Process

Post by ejvs2025 »

Dear Friends:

Trying to authenticate my gmail account in Pop Peeper.

More than a dozen tries, with always a fail at the end, and the following message in the browser (tried Edge, Firefox and Chrome) after log in to GMail account and :
"...your browser could not establish a connection to server 127.0.0.1:56809..."

Please see the attached images. Thank you in advance for your kind help.

Regards,

EJVS.
Attachments
01.jpg
02.jpg
03.jpg
User avatar
Jeff
Admin / Developer
Posts: 9379
Joined: Sat Sep 08, 2001 9:46 pm

Re: Oauth2 Authentification Process

Post by Jeff »

Specifically for Gmail, POP Peeper creates a listening port for your browser to send the Oauth code back to POP Peeper. This is only necessary when creating the Oauth2 token (ie. when you use your browser to grant POP Peeper permission to access your gmail account). If you're running a 3rd party firewall, make sure that it's not blocking this. You may also try running POP Peeper with elevated privileges (ie. run as admin), but I would suggest that you only run it this way temporarily (ie. run PP as admin, authenticate your gmail account(s), then exit and restart PP as normal).

As an alternative, you can also use app-passwords for Google instead of Oauth2:
https://www.esumsoft.com/pop-peeper/faq/?q=GmailAppPw
Last edited by Jeff on Fri Feb 14, 2025 2:35 pm, edited 1 time in total.
Reason: fixed strikethough
ejvs2025
Posts: 4
Joined: Fri Feb 14, 2025 1:49 pm

Re: Oauth2 Authentification Process

Post by ejvs2025 »

Hi Jeff:

Thank you for your initial advice. Please see below the message from Gmail...

Regards,

EJVS.
Attachments
4.jpg
User avatar
Jeff
Admin / Developer
Posts: 9379
Joined: Sat Sep 08, 2001 9:46 pm

Re: Oauth2 Authentification Process

Post by Jeff »

What version of POP Peeper are you using (under Help / About)?
What Windows OS are you using?
ejvs2025
Posts: 4
Joined: Fri Feb 14, 2025 1:49 pm

Re: Oauth2 Authentification Process

Post by ejvs2025 »

Hi Jeff:

Please find below (attached) the PP version and the Windows version.

Thanks,

EJVS.
Attachments
6.jpg
6.jpg (13.44 KiB) Viewed 10134 times
5.jpg
User avatar
Jeff
Admin / Developer
Posts: 9379
Joined: Sat Sep 08, 2001 9:46 pm

Re: Oauth2 Authentification Process

Post by Jeff »

I had tested Gmail/Oauth2 on 2 instances before my first response, but your error is indicative of something happening; perhaps 3rd party.

However, the best solution is to use an app password:
https://www.esumsoft.com/pop-peeper/faq/?q=GmailAppPw
ejvs2025
Posts: 4
Joined: Fri Feb 14, 2025 1:49 pm

Re: Oauth2 Authentification Process

Post by ejvs2025 »

Hi Jeff:

The "app password solution" you proposed worked 100%.
Thank you.
All the best,
EJVS.
Post Reply