google workspace auth failure - invalid credentials #430
Unanswered
mike-freislich
asked this question in
Q&A
Replies: 3 comments
-
No clue but the classical |
Beta Was this translation helpful? Give feedback.
0 replies
-
Thank you for your quick response Gilles.
It sent me on the path towards success!
OMG…. Here’s the solution!
I have migrated 3 accounts from the same source Google Workspace to 2
different Google Workspace Instances. I am using app-passwords for
authentication. Google generates the app-passwords in the following format
: “aaaa bbbb cccc dddd”. For the first two accounts this all worked
perfectly. I also needed to delete any emails larger than 30MB in order for
the IMAP-append operation to work correctly on the target workspace
accounts (google has a hard set maximum for map-append).
For the last account, authentication would simply not work. I used "openssl
s_client” to verify authentication, as per your notes. Again the password
format authenticated perfectly for the first two accounts, but not for the
third. It failed with "invalid credentials”. I took a guess, and removed
the spaces from the app-password e.g. “aaaa bbbb cccc dddd” ->
“aaaabbbbccccdddd”… viola! Solved.
Would have been nice for google to have some kind of standard here, along
with trouble shooting explanation when dishing out these app-passwords.
Anyway… all is working now.
Perhaps this will help someone else in the future.
Thanks again for your help!
…-Mike
On Dec 13, 2023 at 00:54:48, Gilles LAMIRAL ***@***.***> wrote:
No clue but the classical
https://imapsync.lamiral.info/FAQ.d/FAQ.Authentication_failure.txt
—
Reply to this email directly, view it on GitHub
<#430 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABZG2NBVL4QKSLPCDXJPB63YJDODRAVCNFSM6AAAAABAQ4XZA2VHI2DSMVQWIX3LMV43SRDJONRXK43TNFXW4Q3PNVWWK3TUHM3TQMZWGE3TQ>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
0 replies
-
Thanks, Mike! I updated the document
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
I've been using imapsync to successfully migrate a user account from one google workspace to another.
I am now trying a second user in the same source domain.
as with the previous successful account migration, on the source account I have:
Here is imapsync 2.271 on host MYHOST, a linux system with 3.0/7.6 free GiB of RAM, 27.65% used by processes.
with Perl 5.34.0 and Mail::IMAPClient 3.43
...
Host1: IMAP server [imap.gmail.com] port [993] user [user@gworkspace_sourceDomain]
Host1: connecting and login on host1 [imap.gmail.com] port [993] with user [user@gworkspace_sourceDomain]
Host1 IP address: xxx.xxx.xxx.xxx Local IP address: yyy.yyy.yyy.yyy
Host1 banner: * OK Gimap ready for requests from xxx.xxx.xxx.xxx cg17mb112987281wrb
Host1 capability before authentication: IMAP4rev1 UNSELECT IDLE NAMESPACE QUOTA ID XLIST CHILDREN X-GM-EXT-1 XYZZY SASL-IR AUTH=XOAUTH2 AUTH=PLAIN AUTH=PLAIN-CLIENTTOKEN AUTH=OAUTHBEARER AUTH
Host1 info: authmech [LOGIN] user [user@gworkspace_sourceDomain] authuser [] IsUnconnected []
Host1 failure: Error login on [imap.gmail.com] with user [user@gworkspace_sourceDomain] auth [LOGIN]: 2 NO [AUTHENTICATIONFAILED] Invalid credentials (Failure)
Host1: failed login on [imap.gmail.com] with user [user@gworkspace_sourceDomain] auth [LOGIN]
I am stumped ... the credentials are correct...
Any clue as to what I'm doing wrong?
Beta Was this translation helpful? Give feedback.
All reactions