简体   繁体   English

Rails服务器端工作以在QuickBooks Online中创建供应商

[英]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. 我有一个基于Rails Web的应用程序,该应用程序的用户将是QuickBooks Online中的供应商。 Users will signup in my rails application with email address and these users will be verified by Admin at EOD manually. 用户将使用电子邮件地址在我的Rails应用程序中注册,这些用户将由Admin在EOD处手动验证。 I want to write a service/job in rails which will connect to QuickBooks online and create the verified users as vendors in QuickBooks. 我想在Rails中编写一项服务/作业,该服务/作业将在线连接到QuickBooks,并在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? 我的问题是QuickBooks rest API使用OAuth,这要求用户在UI上输入quickbooks用户和密码以获取令牌,但是我的服务将处于脱机状态,那么我该如何实现呢?

My problem is QuickBooks rest API uses OAuth which requires user to enter quickbooks user and password on UI 我的问题是QuickBooks rest API使用OAuth,这要求用户在UI上输入quickbooks用户和密码

... 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. 首次部署Rails应用程序时,请登录一次,然后再也无需登录。

There should be no issue here. 这里应该没有问题。 The docs cover this as well: 这些文档也涵盖了这一点:

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM