dongma6326 2019-07-20 00:15
浏览 36

Quickbooks PHP SDK Oauth2回调参数

I am building an app where I want multiple quickbooks connections. To do that I need to verify which user initiated which connection. To validate this I want to send some parameter to the callback URL called after the user authorizes the connection. How can we send some parameters to quickbooks that will be sent back to the call back URL?

Edit: Adding more details.

What I am trying to do is have the same user connect to multiple companies. However, I want to make sure to store the refresh tokens for all of them separately. To do that I want to check which company is connected to which one in my app.

So what I need to do is when I do the callback to my app after quickbooks authorization, I want to pass a parameter that can identify the company in my app for which the user authorized the quickbooks connection.

Edit: I found a solution. I am now using the state parameter to send the id that I want and use it in the callback to get that data.

  • 写回答

0条回答 默认 最新

    报告相同问题?

    悬赏问题

    • ¥15 c语言怎么用printf(“\b \b”)与getch()实现黑框里写入与删除?
    • ¥20 怎么用dlib库的算法识别小麦病虫害
    • ¥15 华为ensp模拟器中S5700交换机在配置过程中老是反复重启
    • ¥15 java写代码遇到问题,求帮助
    • ¥15 uniapp uview http 如何实现统一的请求异常信息提示?
    • ¥15 有了解d3和topogram.js库的吗?有偿请教
    • ¥100 任意维数的K均值聚类
    • ¥15 stamps做sbas-insar,时序沉降图怎么画
    • ¥15 买了个传感器,根据商家发的代码和步骤使用但是代码报错了不会改,有没有人可以看看
    • ¥15 关于#Java#的问题,如何解决?