Hello,
I've installed and successfully configured MantisBT 2.28.0\ PHP ver. 8.1.2-1ubuntu2.25.
It works very well.
I'm trying now to add EMailReporting plug-in. I've installed Email Reporting 0.12.0.
In the configuration tab I created a Mailbox with Google Workspace using Authentication method X0AUTH2.
For this I created a ServiceAccount and then I created a new Key and generated a file JSON that I copied in /var/www/html/mantisbt.
I also managed the Domain-wide delegation in my Workspace linking my domain with the Service Account via ClientID.
All seems well done but when I Test my Mailbox I have the error message
Message: Google service-account JSON file was not found: /var/www/html/mantisbt
Obviously the JSON is present in that folder.
Any idea on what is wrong?
Thanks
Andreas
Mailbox with Google Workspace using X0AUTH2 doesn't work
Moderators: Developer, Contributor
-
andreas.panozzo
- Posts: 18
- Joined: 23 Dec 2020, 12:22
Re: Mailbox with Google Workspace using X0AUTH2 doesn't work
It should not only be present but you should set the filename.
So something like: "/var/www/html/mantisbt/serviceaccount.json"
I'm very happy you're testing this.
I've mentioned i was not able to test Google XOAUTH2 code. So very curious about the results.
Once you saved the entry it should show text next to the field in question when you edit or test the mailbox.
It should show 2 of these four texts
So something like: "/var/www/html/mantisbt/serviceaccount.json"
I'm very happy you're testing this.
I've mentioned i was not able to test Google XOAUTH2 code. So very curious about the results.
Once you saved the entry it should show text next to the field in question when you edit or test the mailbox.
It should show 2 of these four texts
- File found
- Warning: file not found
- File readable
- Warning: file not readable