Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

Cannot add gmail account

#1602

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)

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

State: new
Milestone: none
Assigned to: benny benny

Activity

  1. Adam
    Adam

    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.

    December 8th, 2016 @ 09:23 AM

  2. Maciej
    Maciej

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

    December 8th, 2016 @ 01:52 PM

  3. benny
    benny

    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!

    December 8th, 2016 @ 03:02 PM

  4. Nick M
    Nick M

    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?

    December 8th, 2016 @ 04:02 PM

  5. benny
    benny

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

    December 8th, 2016 @ 04:16 PM

  6. Adam
    Adam

    Just followed those steps and sent you an email.

    December 8th, 2016 @ 10:46 PM

  7. Nick M
    Nick M

    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.

    December 8th, 2016 @ 11:30 PM

  8. benny
    benny

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

    December 9th, 2016 @ 07:30 AM

  9. Ted Howard
    Ted Howard

    I'm having this problem too.

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

    December 9th, 2016 @ 11:04 PM

  10. Filip
    Filip

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

    December 14th, 2016 @ 03:49 PM

  11. benny
    benny

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

    December 19th, 2016 @ 02:09 PM

  12. Ted Howard
    Ted Howard

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

    December 19th, 2016 @ 03:35 PM

  13. benny
    benny

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

    December 20th, 2016 @ 11:27 AM

  14. Ted Howard
    Ted Howard

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

    Thanks!

    December 20th, 2016 @ 03:20 PM

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

    December 20th, 2016 @ 04:38 PM

  16. benny
    benny
    • State changed from fixcommitted to fixreleased

    December 21st, 2016 @ 09:56 AM

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.