Gmail asks for reauthentication | WordPress.org

[ad_1]

I’ve used this plugin connected to Gmail in one project quite succesfully and for a long time. Now working on a new project I wanted to do the same but we are having issues with Gmail oAuth. At first it works ok, emails are getting delivered but after some time (a day or so) it stops working and asks to re-authenticate.

On the other project it just works from day one without any extra action. Any ideas about this? I believe this could be more related to Gmail settings than this plugin but maybe you have seen the same situation and are able to help.

Thank you!

Here is the log:
{
  “error”: {
    “code”: 401,
    “message”: “Request is missing required authentication credential. Expected OAuth 2 access token, login cookie or other valid authentication credential. See https://developers.google.com/identity/sign-in/web/devconsole-project.”,
    “errors”: [
      {
        “message”: “Login Required.”,
        “domain”: “global”,
        “reason”: “required”,
        “location”: “Authorization”,
        “locationType”: “header”
      }
    ],
    “status”: “UNAUTHENTICATED”,
    “details”: [
      {
        “@type”: “type.googleapis.com/google.rpc.ErrorInfo“,
        “reason”: “CREDENTIALS_MISSING”,
        “domain”: “googleapis.com“,
        “metadata”: {
          “method”: “caribou.api.proto.MailboxService.SendMessage”,
          “service”: “gmail.googleapis.com
        }
      }
    ]  }
}

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer