Top

Chatbot using web API's

Comentarios

4 comentarios

  • 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
    Acciones de comentarios Permalink
  • Parthi Sai

    Thank you for the support. Well received your point.

    Regards,

    Parthi Sai

    0
    Acciones de comentarios Permalink
  • 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
    Acciones de comentarios Permalink
  • 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
    Acciones de comentarios Permalink

Iniciar sesión para dejar un comentario.

  • Pregunte a la Comunidad

    ¿Necesitas ayuda? Haz tus preguntas en la Comunidad para obtener respuestas de otros usuarios de Rainbow.

    Enviar un mensaje.