An External App, lets call it App A makes a REST API call to Salesforce for Candidate Account. (Account: RecordTYpe = Candidate)
I have -
- Create a Connected App 'External App A', Created an Apex Class 'Candidate Accounts' and exposed it as a web service.
- Created an API Only user in salesforce (License Type: Salesforce, Custom Profile: API Only)
- Gave the Consumer Key, Secret Key, Username and Password to the External App A to be able to get authorized in Salesforce and get the data.
So far so good. Everything is functioning perfectly.
Now, another External App, lets call it App B would like to make a REST API call to Salesforce for Recruiter Account. (Account: RecordTYpe = Recruiter)
- I have created an Apex Class 'Recruiter Accounts' and exposed it as a webservice.
My question is -
Can i repurpose 'External App A ', and the API Only user for Authorzing External App B?
i.e Can i give the same Consumer Key, Secret Key, Username and Password to the External App B to be authorized in Salesforce and get the Recruiter Account data.?
Or Do i have to create another Connected App, and another user in salesforce for External App B ?
Thanks !!