Cannot add gmail account
Reported by Adam | 2016-12-08 09:03:04 UTC
I'm using Google Apps for Work.
When I get the pop up to login to my gmail account, the login is successful and the window disappears, but comes right back up after a few seconds asking me to login again (no error message)
Comments and changes to this ticket
-

Adam 2016-12-08 09:23:46 UTC
Update: Still having this issue but I was able to find an alternative by editing the IMAP settings to use my password instead of OAuth2.
-

Maciej 2016-12-08 13:52:36 UTC
I see the same thing on my machine. Fresh installation of Mailmate and gmail oAuth window that keeps reappearing.
-

benny 2016-12-08 15:02:17 UTC
I would appreciate if one of you or both of you could try the following. First enable this debug variable in a Terminal window:
defaults write com.freron.MailMate MmDebugXOAUTH2 -bool YESThen launch MailMate from the Terminal window:
/Applications/MailMate.app/Contents/MacOS/MailMateReproduce the issue and then send me the output via “Help ▸ Send Feedback” (if possible).
Thanks in advance!
-

Nick M 2016-12-08 16:02:54 UTC
Adam, I am having the same issue.
Can you explain exactly how you modified the IMAP settings?
I know you go into "Edit Subscriptions" but what specific info are you inputting? Are you adding a Port number?
-

benny 2016-12-08 16:16:02 UTC
@Nick: It's not “Edit Subscriptions”. It's “File ▸ Edit IMAP Account ▸ ...” and then disable OAuth2 in order to use a password instead. BUT this may not work since Google does not like password access. You may, at least, need to use a so-called app specific password.
But I would prefer fixing the OAuth2 issue. It sounds like it is a general issue which means I might be able to reproduce it.
-

-

Nick M 2016-12-08 23:30:06 UTC
Hi Benny,
I went to reproduce the issue as you instructed. Except this time, for the first time, it worked. I can't figure out why but I'm just happy it is working. Thanks.
-

benny 2016-12-09 07:30:19 UTC
@Nick: It might not be a completely consistent problem, but I happened to be able to reproduce it. You can “start over” by deleting entries in Keychain Access named like this:
com.freron.MailMate.Google.oauth-token com.freron.MailMate.Google.oauth-refresh-tokenThen you can try to reproduce the problem. If it doesn't work then try updating to the latest test release of MailMate: Hold down ⌥ when clicking “Check Now” in the Software Update preferences pane (r5314).
That last part is advice for anyone with this issue. Let me know if it works or not.
-

Ted Howard 2016-12-09 23:04:44 UTC
I'm having this problem too.
I don't have any entries in Keychain Access with the prefix
com.freron -

Filip 2016-12-14 15:49:01 UTC
I had the same problem, also there were no entries in the keychain. Updating to r5315 has solved the issue.
-

-

Ted Howard 2016-12-19 15:35:42 UTC
@benny I'm sorry, but I don't know how to get the latest test release.
I checked for beta builds when I saw @Filip's post, but I couldn't find that release.
-

benny 2016-12-20 11:27:55 UTC
@Ted: It was in one of my other replies: Hold down ⌥ when clicking “Check Now” in the Software Update preferences pane. Currently you should get r5318.
-

Ted Howard 2016-12-20 15:20:59 UTC
@benny: Yes, after updating to r5318, I am able to access my Google apps email.
Thanks!
-

benny 2016-12-20 16:38:57 UTC
- State changed from new to fixcommitted
Ok, I'll consider this issue fixed. (I'm postponing releasing it as a public release since I'm having some issues with MailMate on OS X Lion.)
-

Please Sign in or create a free account to add a new ticket.
With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป
Mac OS X email client.