Hi there,
I am storing data from all customers in the same database (multitenant) and thus I need to segregate this data so that one account can’t see data from another.
Currently, I am using the client_id for that. However, when installing the app in different Monday accounts, I realised that the client_id that I get from the Monday token is always the same! This is the information I can get from the token:
"dat": {
"client_id": "123456daef7553456d62345aa37",
"user_id": 123456,
"account_id": 123456,
"slug": "my-monday-subdomain",
"app_id": 123456,
"install_id": 123456
}
Then, the question: should I be using a different id (maybe the account_id) to segregate data in the database correctly between different Monday instances?
Thank you.