GithubHelp home page GithubHelp logo

analog-nico / passport-pinterest Goto Github PK

View Code? Open in Web Editor NEW
14.0 14.0 6.0 22 KB

Passport strategy for authenticating with Pinterest using the OAuth 2.0 API.

License: ISC License

JavaScript 100.00%

passport-pinterest's People

Contributors

analog-nico avatar cvinson avatar somprabhsharma avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

passport-pinterest's Issues

The authorization grant is invalid

Hi, thanks for creating this useful project!

I implemented this strategy and I'm getting the following issue

{"status":"failure","code":283,"data":"Invalid Application ID","message":"The authorization grant is invalid","endpoint_name":"oauth_connect"}

I did provide both the app ID and app secret

Pinterest Oauth URL and Scope is changed ...!!!!!!!

Hello everyone, recently pinterest Oauth url and scope is changed.
1. I tried to achieve Oauth using this module (passport-pinterest). But It's redirect to "https://api.pinterest.com/oauth" But actual url is "https://in.pinterest.com/oauth/".
2. Scope also changed. passport-pinterest module says, scope: ['read_public', 'read_relationships']. I have mentioned new scope bellow :

ads:read - Read access to advertising data
boards:read - Read access to public boards
boards:read_secret - Read access to secret boards
boards:write - Write access to create, update, or delete boards
boards:write_secret - Write access to create, update, or delete secret boards
pins:read - Read access to Pins
pins:read_secret - Read access to secret Pins
pins:write - Write access to create, update, or delete Pins
pins:write_secret - Write access to create, update, or delete secret Pins
user_accounts:read - Read access to user accounts

Source : https://developers.pinterest.com/docs/api/v5/#section/OpenAPI-security-definitions

My question is how to change new Oauth URL using passport module ?

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.