Giter Site home page Giter Site logo

oauth2-nodejs's Issues

I get this error while connecting, can you please help ,me out

Never getting new refresh tokens

Hello,

The documentation states:

When you request a fresh access token, always use the refresh token returned in the most recent token_endpoint response. Your previous refresh tokens expire 24 hours after you receive a new one.

Always use the current refresh_token when requesting a new access_token. A new refresh_token is returned and the previous refresh_token is expired. This new refresh_token now has a lifetime of 100 days.

However, when requesting a new access_token never returns a new refresh token, either in the oauth 2.0 playground test page or this sample app.

Redirect Error in Callback

Hello! My co-engineer and I got this app working in this codebase but are getting this error when we moved the code to our actual app. Any thoughts? Can't find any good responses on the intuit developer portal. The issue did not occur when running this code base. We are trying to make the request from our server.

Access to XMLHttpRequest at 'https://appcenter.intuit.com/connect/oauth2?client_id=ABB8JQGKm8vuYkN4X5gDka2cyu7LRQ2tj8RwFVjlxSHB5I3vBm&redirect_uri=http%3A%2F%2Flocalhost%3A5000%2Fapi%2Fquickbooks%2Fcallback&response_type=code&state=829cL7W6-kx4uU1q4zjiD1cYsyQ6oneLGMSE&scope=com.intuit.quickbooks.accounting' (redirected from 'http://localhost:3000/api/quickbooks/connect_handler') from origin 'http://localhost:3000/' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is presen

realmId error

When I click on API call, I get the following error message.
"error": "No realm ID. QBO calls only work if the accounting scope was passed!"

All I have changed in what is required in config.json, plus I changed the listening port to 3001 in app.js to match my redirectUri. Thoughts?

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.