GithubHelp home page GithubHelp logo

Comments (2)

GunoH avatar GunoH commented on July 20, 2024

I'm consistently getting this error as well.

After enabling oauth debug logging (by adding $conf['oauth_debug_file'] = '/tmp/piwigo_oauth.log'; to local/config/config.inc.php), I'm getting this error in the log file:

  "error": {
    "code": 403,
    "message": "Legacy People API has not been used in project ************ before or it is disabled. Enable it by visiting https://console.developers.google.com/apis/api/legacypeople.googleapis.com/overview?project=************ then retry. If you enabled this API recently, wait a few minutes for the action to propagate to our systems and retry.",
    "status": "PERMISSION_DENIED",
    "details": [
      {
        "@type": "type.googleapis.com/google.rpc.Help",
        "links": [
          {
            "description": "Google developers console API activation",
            "url": "https://console.developers.google.com/apis/api/legacypeople.googleapis.com/overview?project=************"
          }
        ]
      }
    ]
  }
}

Looks like the API being used (https://developers.google.com/people/legacy) has been shut down.

The HybridAuth library that is being used to implement the oauth stuff might have fixed this in v2.13. So updating the social connect plugin to use (at least) this version of HybridAuth (from the current v2.5.1) might fix the problem.

[edit]
I upgraded HybridAuth to v2.13 (see #22). After that, all I had to do was disable Piwigo's session handler (see #22 (comment)) and things started working again.

from piwigo-social-connect.

kchen avatar kchen commented on July 20, 2024

I upgraded to Hybridauth 2.17 and made no other changes to Piwigo or Social Connect, and that appears to resolve the problem for me.

from piwigo-social-connect.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.