project-flogo / flow

Flow is a flow-based process engine implementation for processing event-driven requests.
BSD 3-Clause "New" or "Revised" License
95 stars 38 forks source link

multiple users #150

Open Mars-2030 opened 3 years ago

Mars-2030 commented 3 years ago

What is your question? Hi, Can I have a single flow used by multiple users where each user has his own credentials and data and not overlapped .. or from my app I can create multiple instance of the flow for multiple users where each user has his own flow? this is what I want to do I have two saas apps I need to develop a connector for transfer data from one to another and this connector will be activated by the user by entering their own credentials .. can I do this scenario with flogo? Please tell us about your environment (Operating system, docker version, browser & web ui version, etc): N/A Flogo version (CLI & contrib/lib. If unknown, leave empty or state unknown): 0.X.X N/A

lixingwang commented 3 years ago

@Mars-2030 Flogo is a powerful integration framework. so what you trying/looking for sure flogo able to do.

The simple flow would be: Rest Trigger -> Login to Saas1 Get Token -> Login to Saas2 to get Token -> Fetch data from Saas1 -> Save to Saas2.

Each user's credential is able to pass from rest trigger and it is encrypted. You can play with the Flogo Cloud version https://www.tibco.com/products/cloud-integration/develop

Mars-2030 commented 3 years ago

thank you so much @lixingwang this flow can work for many users? or I should have a flow for each user? can I integrate the flow with a form do you have case study or tutorial on how to do it

lixingwang commented 3 years ago

it depends on your use cases. do all users have to log in to the saas system with their own conditionals to get and save data?

can I integrate the flow with a form? Can you add more here, how you want to integrate with a form?

So far we don't have a public case study.

Mars-2030 commented 3 years ago

@lixingwang Yes each user has his own saas credentials ... and they should login using OAuth 2.0