RocketChat / Rocket.Chat.js.SDK

Utility for apps and bots to interact with Rocket.Chat via DDP and/or API
MIT License
136 stars 95 forks source link

Driver login by token #99

Open aswanyaugustine opened 4 years ago

aswanyaugustine commented 4 years ago

Is there a way by which I can login to driver via livechat visitor token .I mean something similar to accounts.loginbytoken method. If it can be done, a visitor can subscribe to his room with an agent if the visitor sits somewhere else other than rocketchat say a visitor is a whatsapp user.

Idea is if at any time a whatsapp user needs to talk to an agent in rocketchat(something like an external guest) and he is not talking via livechat UI , but with his own UI (in our case whatsapp).

aswanyaugustine commented 4 years ago

any help?