Misago
  • Threads
  • Categories
  • Users
  • forum
  • group
  • search
  1. Threads
  2. Standard
chevron_left Standard

Non Gmail Google: "error contacting authentication server"

  • forum 17 replies
  • last reply by Shelburn Feb. 14, 2019
  • Last
  • link
    dreamflasher
    Members 9 posts
    Feb. 13, 2019, 9:21 a.m. Feb. 13, 2019, 9:21 a.m.
    link

    I want to use my google apps for your domain account, OAuth2, manual config, imap server "imap.gmail.com", but I get "error contacting authentication server". I use the exact same config with Thunderbird and there it works.

    Thank you for your help.

  • link
    Shelburn
    Team 81 posts
    Feb. 13, 2019, 10:14 a.m. Feb. 13, 2019, 10:14 a.m.
    link
    @dreamflasher has written:

    I want to use my google apps for your domain account, OAuth2, manual config, imap server "imap.gmail.com", but I get "error contacting authentication server". I use the exact same config with Thunderbird and there it works.

    Which of the pep-applications are you experiencing issues with?
    Is it the original Gmail Account or a domain hosted on the Google Business Suite?

  • link
    dreamflasher
    Members 9 posts
    Feb. 13, 2019, 10:24 a.m. Feb. 13, 2019, 10:24 a.m.
    link

    Ah right, sorry for leaving out the crucial information: Android from F-Store, domain hosted on the google business suite (google apps for your domain)

  • link
    Shelburn
    Team 81 posts
    Feb. 13, 2019, 12:55 p.m. Feb. 13, 2019, 12:55 p.m.
    link

    For now Oauth2 with google is only possible if the Account is linked to the android account section.

  • link
    dreamflasher
    Members 9 posts
    Feb. 13, 2019, 1:05 p.m. Feb. 13, 2019, 1:05 p.m.
    link
    @Shelburn has written:

    For now Oauth2 with google is only possible if the Account is linked to the android account section.

    What does that mean? I am picking the account from the account selection. So it's the account that I have on my phone.

  • link
    Shelburn
    Team 81 posts
    Feb. 13, 2019, 2:12 p.m. Feb. 13, 2019, 2:12 p.m.
    link

    It is not possible to use OAUTH2 for accounts that are not entered into the Android system.
    So if you do not enter your google account in the Wizard when you set up your cellphone for the first time and want to enter it only in the pep mail app later, we get a problem for now.

  • link
    dreamflasher
    Members 9 posts
    Feb. 13, 2019, 2:18 p.m. Feb. 13, 2019, 2:18 p.m.
    link

    What do you mean by "entered into the Android system"? As I wrote I want to use the account that I have set up on my Android phone (currently using gmail and all the google apps with it).

  • link
    Shelburn
    Team 81 posts
    Feb. 13, 2019, 2:25 p.m. Feb. 13, 2019, 2:25 p.m.
    link

    if you use it for play store and other google apps already, it is ok. I was talking about the case if you don't.

  • link
    dreamflasher
    Members 9 posts
    Feb. 13, 2019, 2:26 p.m. Feb. 13, 2019, 2:26 p.m.
    link

    Ok yes, I am doing that, but I still get the error above.

  • link
    Shelburn
    Team 81 posts
    Feb. 13, 2019, 3:49 p.m. Feb. 13, 2019, 3:49 p.m.
    link
    @dreamflasher has written:

    Ok yes, I am doing that, but I still get the error above.

    is IMAP acess enabled?

    support.google.com/a/answer/105694?hl=en

  • link
    dreamflasher
    Members 9 posts
    Feb. 13, 2019, 3:59 p.m. Feb. 13, 2019, 3:59 p.m.
    link

    Yes. As I wrote in my initial post "I use the exact same config with Thunderbird and there it works."

  • link
    Shelburn
    Team 81 posts
    Feb. 13, 2019, 4:19 p.m. Feb. 13, 2019, 4:19 p.m.
    link
    @dreamflasher has written:

    Yes. As I wrote in my initial post "I use the exact same config with Thunderbird and there it works."

    I am trying to reproduce it.

    Can you get a logcat with the auth error in it?
    Should habe the servers exact reply

  • link
    dreamflasher
    Members 9 posts
    Feb. 13, 2019, 4:24 p.m. Feb. 13, 2019, 4:24 p.m.
    link

    Okay my exact steps are:
    1) On the initial screen I check "Use OAuth 2.0 token", and my google account is correctly selected in the drop down
    2) "Next", Settings for incoming messages, IMAP-Server, "imap.gmail.com", I leave the rest of the settings the same (and they match with my Thunderbird settings), SSL/TLS, 993, username, OAuth 2.0 Token
    3) "Next", I get "error contacting authentication server"

    How do I get the logcat?

  • link
    Shelburn
    Team 81 posts
    Feb. 13, 2019, 4:28 p.m. Feb. 13, 2019, 4:28 p.m.
    link
    @dreamflasher has written:

    How do I get the logcat?

    Using the android debug bridge via usb ( adb logcat) or via an app like catlog

  • link
    dreamflasher
    Members 9 posts
    Feb. 13, 2019, 4:34 p.m. Feb. 13, 2019, 4:34 p.m.
    link

    Would you be so kind to help me with the command? adb logcat security.pEp:D *:S doesn't work (I do get all when I leave out the filters)

  • link
    Shelburn
    Team 81 posts
    Feb. 13, 2019, 4:48 p.m. Feb. 13, 2019, 4:48 p.m.
    link
    @dreamflasher has written:

    Would you be so kind to help me with the command? adb logcat security.pEp:D *:S doesn't work (I do get all when I leave out the filters)

    should be k9pep in the log.

    If you find the following lines, all you need to do is wait a little until changes on Google propagated:

    Quoted message:

    02-13 17:29:23.039 E/k9pEp (10667): Caused by: android.accounts.AuthenticatorException: UNREGISTERED_ON_API_CONSOLE

  • link
    dreamflasher
    Members 9 posts
    Feb. 14, 2019, 4:23 p.m. Feb. 14, 2019, 4:23 p.m.
    link

    With logcat on it works. Now I get an auth dialogue, and can finish the setup.

  • link
    Shelburn
    Team 81 posts
    Feb. 14, 2019, 5:19 p.m. Feb. 14, 2019, 5:19 p.m.
    link
    @dreamflasher has written:

    With logcat on it works. Now I get an auth dialogue, and can finish the setup.

    F droid packages had to go through Google to be verified. This process should be done now.
    The Play Store package was already done.

There are no more posts in this thread.

powered by misago