How do I set up Google Talk/Hangout in Pidgin?

20

6

I'm using Pidgin and it works great. But I have trouble getting my Google Talk/Hangout account running. I'm getting the error message: "Not Authorized"

I found the following link but nothing works for me. How do I set up Google Talk in Pidgin?

I can't find the Google settings for less secure apps in my Google account.

Here are my settings:

Basic Tab:

Protocol: XMPP
Username: myUsername (without @mydomain.com)
Domain: mydomain.com
Resource: Home
Password: myPassword
Checked Remember password

Advanced Tab:

Connection security: Require encryption
Connect port: 5222 (default)
Connect server: talk.google.com
File transfer proxies: proxy.eu.jabber.org (default)

stevo

Posted 2015-09-15T20:06:22.027

Reputation: 303

Note: use a combination of the answers below. You need to set up 2FA in your Google account to not have to use an insecure method. Currently, I did that from here: https://www.google.com/landing/2step/ Then you generate an application specific password that you replace your regular pidgin password with. Multiple answers specify this information in different ways and are useful in combination. – Andrew – 2018-09-11T12:33:56.967

Mods, don't delete my comment as an answer like you normally do, as my goal here is to not add yet-another-answer. The existing answers are sufficient in combination but they're a tangled mess. – Andrew – 2018-09-11T12:34:44.773

If you're looking for the Enterprise Hangout Chat (https://chat.google.com), then it's not using XMPP protocol as in talk.google.com, and thus not currently supported in Pidgin. There's a feature request in purple-hangouts

– Noam Manos – 2018-11-15T11:35:54.263

Answers

5

I can't find the google settings for less secure apps in my google account.

When signed in to your account, go to My Account, and in the "Sign-in & Security" column, go to Connected Apps & Sites. Third option down on the right is a toggle for allowing less secure apps.

JavaOnLunch

Posted 2015-09-15T20:06:22.027

Reputation: 74

Thanks @JavaOnLunch! I found it! But it still wasn't working. I have to say the google account that I'm try to use is a gmail account with my company domain name. I finally managed to get it running. I sign in with my other "normal" gmail account (@gmail.com) and accept the certificate and then the company gmail ran fine. I hope it helps. Cheers Stefan – stevo – 2015-09-18T05:47:29.840

There is no longer a "third option down". Look at nixom's answer, which details setting up a password specific to the Pidgin instance. – nshew – 2016-01-06T16:10:16.313

1This answer should be further down, the 2 Factor Authorization using App Passwords is the best solution. – AzP – 2018-08-28T11:38:24.577

16

people

my setting work perfect (on windows) I recommend NOT ENABLE settings for less secure apps

the trick ----> first enable 2-Step Verification in gmail settings, then add pidgin, then copy the password generate

my settings

Protocol: XMPP Username: myUsername (without @mydomain.com) Domain: gmail.com Resource: Home Password: myPassword (paste the password) Checked Remember password

check new email not.

Connection security: Require encryption Connect port: 5222 (default) Connect server: leave blank (default) File transfer proxies: proxy.eu.jabber.org (default)

show custom smileys

enjoy

nixom

Posted 2015-09-15T20:06:22.027

Reputation: 169

1This is the best answer, I think you should clean it up language-wise and regarding formatting, so it is a bit more readable. Enabling unsecure clients is NOT the way to go, you are completely right about that. – AzP – 2018-08-28T11:36:07.313

10

This configuration is what worked for me:

enter image description here

NOTE

You need a Connect Server: talk.google.com in the Advanced tab.

Hope this helps. Good Luck.

Akash

Posted 2015-09-15T20:06:22.027

Reputation: 211

Not if you want encryption, which is the only truly secure method here... Looks like 2FA is needed, after all. – Andrew – 2018-09-11T12:31:45.683

7

From Gmail, click on your avatar on the top right, click on "My Account", then click on "Sign in security". From there, follow what you see in this image:

Sign-in security steps

Adron

Posted 2015-09-15T20:06:22.027

Reputation: 81

How does this different from the existing answers? When you edit this answer, in order to improve it, you should fix the gramatical mistake. – Ramhound – 2016-12-16T18:54:22.400

5

Update: This method is no longer possible with 2FA enabled. Explore other options that don't involve allowing less secure apps.

Getting Google to accept your connection takes an extra step and depends on whether or not you have two-factor authentication (2FA) enabled.

With 2FA disabled

  1. Go to your Google account Security settings.
  2. Under Apps with account access, find the setting for "Allow less secure apps" and turn it on. This setting will not exist if you have 2FA enabled.
  3. Use the settings you've described, entering your Google account password as the password.

With 2FA enabled

  1. Go to your Google account Security settings.
  2. Under Signing in to Google, click on "App Passwords" to go to the App Passwords settings.
  3. At the bottom of the form, click on the "Select app" dropdown and choose "Other". Enter Pidgin (or whatever name you'd like) into the text box and click "Generate". Copy the generated password it provides.
  4. Use the settings you've described, but paste in the generated password from the previous step as the password.

Ian Greenleaf Young

Posted 2015-09-15T20:06:22.027

Reputation: 231

This no longer works when 2 factor authentication is on, as 'less secure apps' are not allowed. – rjurney – 2020-01-10T17:41:27.803

Thanks for the note, I'll edit my answer with an update. – Ian Greenleaf Young – 2020-01-11T02:06:25.513

4

If you're having trouble connecting by using following one of the other answers here, note that if you're using two-factor authentication, you'll need to create an application-specific password in order to authenticate.

G-Wiz

Posted 2015-09-15T20:06:22.027

Reputation: 581