Top

Chatbot using web API's

Commentaires

4 commentaires

  • Vincent BAILLEAU

    Hi Parthi,

    No, it's not possible to converse with Rainbow user without a login. Nevertheless, you may use a temporary guest user to accomplish you task. For security reason this user have to be created and login (with API, without XMPP) at server side level (backend).

    Once you're temporary user is connected, transmit the guest JWT token to you front end in order to call the signinOnRainbowOfficialWithToken method ( https://hub.openrainbow.com/#/documentation/doc/sdk/web/api/connection#module_Connection.signinOnRainbowOfficialWithToken ).

    You are now able to communicate with Rainbow visible users on Rainbow.

    Regards

    Vincent

    1
    Actions pour les commentaires Permalien
  • Parthi Sai

    Thank you for the support. Well received your point.

    Regards,

    Parthi Sai

    0
    Actions pour les commentaires Permalien
  • kara desu

    "you may use a temporary guest user to accomplish you task. For security reason this user have to be created and login (with API, without XMPP) at server side level (backend)."

    Are you talking about the "/api/rainbow/admin/v1.0/users" api? it doesn't return any token, just the created user (with guest role) data.

    Thanks.

    0
    Actions pour les commentaires Permalien
  • Vincent BAILLEAU

    Hi kara desu,

    please simply use the email and it's associated password return during guest user creation in order to login and retrieve the user token, please have a look on hub documentation for more details.

    Thank you

    Regards

    0
    Actions pour les commentaires Permalien

Vous devez vous connecter pour laisser un commentaire.

Vous n'avez pas trouvé ce que vous cherchez?

  • Contactez-nous

    Vous avez des questions? Laissez-nous un message pour obtenir plus d'informations.

    Contactez-nous
  • Demandez à la Communauté

    Vous avez besoin d'aide? Posez vos questions à la Communauté et obtenez des réponses d'autres utilisateurs Rainbow.

    Poster un message