Used Zammad version: 3.6.0-1613047982.332fdca8.focal
Used Zammad installation source: package
Operating system: ubuntu 20.04.2 LTS
Browser + version: Google Chrome Version 89.0.4389.90 (Official Build) (64-bit)
Expected behavior:
Authenticating for Google Channel does not require re-authenticating every week
Actual behavior:
Authenticating for Google Channel requires re-authenticating every week
Steps to reproduce the behavior:
Authenticate with Google
Wait a week
Check Google channel to see it failing authentification
Error received via monitoring:
“Channel: Google::Account in Can’t use Channel::Driver::Imap: #<Net::IMAP::NoResponseError: Invalid credentials (Failure)>”, “Channel: Google::Account out Can’t use Channel::Driver::Smtp: #<Net::SMTPAuthenticationError: 535-5.7.8 Username and Password not accepted. Learn more at\n>”, “Failed to run background job #1 ‘TicketArticleCommunicateEmailJob’ 1 time(s) with 2 attempt(s).”
Is this expected behaviour or is there something we can do to prevent it requiring manual intervention every week?
What confuses me a bit it the error message that states that “Username and Password not accepted”. Zammad does not use Username and Password but XOAUTH2 authentication for some time now…
@MrGeneration do you know about similar experiences regarding the Google Channel?
Looking at the Google console, we are indeed using the app in Testing. The instructions didn’t say that it needs to be published, and we didn’t find any other obvious downsides to it, since this is an internal use case anyway.