Amit Kulkarni
Amit Kulkarni

Reputation: 3

Rails server side job to create vendors in QuickBooks Online

I have a rails web based app which has users which will be vendors in QuickBooks Online. Users will signup in my rails application with email address and these users will be verified by Admin at EOD manually. I want to write a service/job in rails which will connect to QuickBooks online and create the verified users as vendors in QuickBooks.

My problem is QuickBooks rest API uses OAuth which requires user to enter quickbooks user and password on UI to get the token but my service will be offline, so how can I achieve this?

Upvotes: 0

Views: 151

Answers (1)

Keith Palmer Jr.
Keith Palmer Jr.

Reputation: 27962

My problem is QuickBooks rest API uses OAuth which requires user to enter quickbooks user and password on UI

... exactly ONCE, and then NEVER AGAIN.

Repeat - You only have to log in ONCE, and ONLY ONCE, and then NEVER AGAIN.

Log in once, the very first time you deploy your Rails app, and then never log in again.

There should be no issue here. The docs cover this as well:

Upvotes: 1

Related Questions