Hey @azelenkin0306, we might be talking about different things when we say “Accounts”.
In this post, I’m going to be using accounts to describe a separate monday subdomain (team1.monday.com, team2.monday.com, etc) and users to describe different people (who can be on the same account or different). A user can belong to multiple accounts.
You can only invite users from the same account to be collaborators on a single app.
OAuth and Account Permissions
Each app can be installed on one or more accounts. If you attempt to go through the OAuth flow with a user from an account that has not installed the app (identified by client ID), then you will get an error.
Sharing your apps
As Rob mentioned, you can also share your app’s URL so other users can install it on their accounts.
Say an app is installed in account1.monday.com but not account2.monday.com.
If a user is invited to both accounts, they will be able to see the app when they go to account1.monday.com, but if the same user goes to account2.monday.com they won’t be able to access the app in the UI. This person will also have two user IDs, one for their profile on each account.
Now, let’s say another user is invited to account 2 (no app) but not account 1. If you send this user to your OAuth Authorization URL, you will receive an error. This is because the user belongs to an account that does not have access to the app.