API Support Forum
OEC API > API Support > Keeping an user connected with an API
Author Topic: Keeping an user connected with an API
(3 messages, Page 1 of 1)
Moderators: VPfau
VLuc
Posts: 5
Joined: Jul 17, 2020


Posted: Sep 29, 2020 @ 10:18 AM             Msg. 1 of 3
Hello,

We are wondering how to keep the user client alive with an API, and what is the best way to do it ?
With a classical authentication, I would get a token and link it to an user in the DB, while being able to use it to execute command on behalf of the user. Can I do anything similar with this API, and if not what would be the closest ?

Thank you,
Magellan
CMicciche902
Posts: 348
Joined:


Posted: Oct 05, 2020 @ 01:59 PM             Msg. 2 of 3
Does your application send orders on behalf other client? Can you describe setup? With our API, we can setup one user to one account, or one user to many accounts.
Chris M
VLuc
Posts: 5
Joined: Jul 17, 2020


Posted: Oct 13, 2020 @ 05:41 AM             Msg. 3 of 3
We are doing a web application, so we expect our users to login on our website to your API, and to be able to execute orders. So we need multiple users connected at the same time.