How to obtain control on a company #474
-
I'm a developer and I'm developing an app for another company. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 3 replies
-
Hello @DamsolDeveloper If that's the case, the OAuth step should have returned you two different tokens:
In this situation, each token will be able to access the companies associated with the token itself:
So if you need to perform operations on company "B" you must be able to collect the token "W" in some way. You cannot use the token "Z", even if the same app generated it, because that specific token is connected only to A and not B. You can check the companies associated with a single token using the List User Companies method. I hope my explanation is clear. Let me know if you have further questions. Thanks |
Beta Was this translation helpful? Give feedback.
Hello @DamsolDeveloper
for clarity, let's call your company "A" and the other company "B".
If I'm not wrong, you created an app using company "A", and then you performed the OAuth flow with the created app on company "A" and "B", correct?
If that's the case, the OAuth step should have returned you two different tokens:
In this situation, each token will be able to access the companies associated with the token itself: