Click here to Skip to main content
15,886,036 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Can anyone suggest best way for implementing the below scenario.

In a multitenant application where we are tied up with different vendors, based on the logged in user we need to dynamically connect to a vendor's API and fetch user information. What is the best way to design the scenario so that in future if we tie up with a new vendor we need to make minimum changes to our code to call his APIs. What are the pitfalls to be considered in such scenarios. Any pointers to any existing pattern/practice for such implementation would help a lot.

What I have tried:

I am thinking of maintaining the API endpoints and the authentication credentials required in a DB table
Posted
Updated 21-Dec-20 6:20am

1 solution

 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900