#1602 new
Adam

Cannot add gmail account

Reported by Adam | December 8th, 2016 @ 09:03 AM

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

    Adam December 8th, 2016 @ 09:23 AM

    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

    Maciej December 8th, 2016 @ 01:52 PM

    I see the same thing on my machine. Fresh installation of Mailmate and gmail oAuth window that keeps reappearing.

  • benny

    benny December 8th, 2016 @ 03:02 PM

    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 YES
    

    Then launch MailMate from the Terminal window:

    /Applications/MailMate.app/Contents/MacOS/MailMate
    

    Reproduce the issue and then send me the output via “Help ▸ Send Feedback” (if possible).

    Thanks in advance!

  • Nick M

    Nick M December 8th, 2016 @ 04:02 PM

    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

    benny December 8th, 2016 @ 04:16 PM

    @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.

  • Adam

    Adam December 8th, 2016 @ 10:46 PM

    Just followed those steps and sent you an email.

  • Nick M

    Nick M December 8th, 2016 @ 11:30 PM

    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

    benny December 9th, 2016 @ 07:30 AM

    @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-token
    

    Then 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

    Ted Howard December 9th, 2016 @ 11:04 PM

    I'm having this problem too.

    I don't have any entries in Keychain Access with the prefix com.freron

  • Filip

    Filip December 14th, 2016 @ 03:49 PM

    I had the same problem, also there were no entries in the keychain. Updating to r5315 has solved the issue.

  • benny

    benny December 19th, 2016 @ 02:09 PM

    @Ted: Were you able to solve it with the latest test release as well?

  • Ted Howard

    Ted Howard December 19th, 2016 @ 03:35 PM

    @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

    benny December 20th, 2016 @ 11:27 AM

    @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

    Ted Howard December 20th, 2016 @ 03:20 PM

    @benny: Yes, after updating to r5318, I am able to access my Google apps email.

    Thanks!

  • benny

    benny December 20th, 2016 @ 04:38 PM

    • 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.)

  • benny

    benny December 21st, 2016 @ 09:56 AM

    • State changed from “fixcommitted” to “fixreleased”

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.

New-ticket Create new ticket

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.

Shared Ticket Bins

People watching this ticket

Pages