Giter Site home page Giter Site logo

intuit-qbo-api-tinkering's Introduction

Call end points defined in app.js and change parameters accordingly to test out input and output expectations

Please note that this app was written as a stub client to help familiarize with Doorkeeper flow, my apologies for the bleh code. For me personally this was just a substitute for testing with curl or postman, sharing because it's easier than sharing my list of curl commands

Instructions for setting up sample oauth2 client- run these in sequence

Everybody run this

  • run rails db:seed if you haven't already in the project root directory
  • cd relevant_sample_apps/oauth2_client
  • export NODE_ENV=development
  • npm install
  • node app.js

Getting an otp for your user if your user has otp turned on:

  • rails c in your terminal then User.find_by(email: '<email>').current_otp (substitute <email> with whatever value was hard coded into the route for /new_exchange_user)
  • Switch to app.js and put in whatever value was returned from the previous command as otp_attempt value
  • In dev environment you will have 5 minutes to use this otp; once this otp has been used, it will no longer be valid.

If you are working with exchange users

If you are working with ico users

If you are working with the cs_app

intuit-qbo-api-tinkering's People

Contributors

nombiezinja avatar

Watchers

James Cloos avatar

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.