Search found 6 matches

by apathy
22 Mar 2023, 16:13
Forum: Help
Topic: Send mail with Oauth2 and SMTP Gmail failing
Replies: 3
Views: 3095

Re: Send mail with Oauth2 and SMTP Gmail failing

We're using https://opar.perl-services.de/dist/MultiSMTP module with Znuny 6.4.5 and multiple Gmail accounts, had zero issues with it.

The module implements OAuth2 token authorization correctly.
by apathy
22 Mar 2023, 11:48
Forum: Help
Topic: How to correctly 'reset' Gmail OAuth2 records?
Replies: 2
Views: 1932

Re: How to correctly 'reset' Gmail OAuth2 records?

The publishing status is testing, with external users.

I don't know what is the mode of the consent screen.
by apathy
16 Mar 2023, 13:11
Forum: Help
Topic: How to correctly 'reset' Gmail OAuth2 records?
Replies: 2
Views: 1932

How to correctly 'reset' Gmail OAuth2 records?

Hello!

We have 4 GMail OAuth2 token records in Znuny. Everything worked fine for about a week.

Today I've found 3 of 4 are broken. The record with ID 3 is fine.

Last token request failed. Last (refresh) token request failed.

Here's what happened in the log in chronological order:

First: for ...
by apathy
22 Feb 2023, 16:52
Forum: Help
Topic: Correct usage of OAuth2 with GMail
Replies: 3
Views: 2854

Re: Correct usage of OAuth2 with GMail

We've found what's wrong.
Znuny's built-in "Google Mail" template for "Add a new OAuth2 token configuration based on the selected template." contains an error.

URL for token by refresh token should be https://accounts.google.com/o/oauth2/token instead of https://oauth2.googleapis.com/token ...
by apathy
21 Feb 2023, 13:54
Forum: Help
Topic: Correct usage of OAuth2 with GMail
Replies: 3
Views: 2854

Re: Correct usage of OAuth2 with GMail

Yes, the user has full access. And there're no issues with sending and receiving emails with Znuny.
by apathy
17 Feb 2023, 11:08
Forum: Help
Topic: Correct usage of OAuth2 with GMail
Replies: 3
Views: 2854

Correct usage of OAuth2 with GMail

Hello! I'm using Znuny 6.4.4

I have a couple of issues:
1. After a successful authorization with Google:
TOKEN STATUS shows Token is valid until <manual authorization time shows here>. Not some time in the future, just 'right now already in the past'.
REFRESH TOKEN STATUS shows No refresh token ...