Top

Chatbot using web API's

Comentários

4 comentários

  • 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
    Ações de comentário Permalink
  • Parthi Sai

    Thank you for the support. Well received your point.

    Regards,

    Parthi Sai

    0
    Ações de comentário 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
    Ações de comentário 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
    Ações de comentário Permalink

Por favor, entrar para comentar.

Ainda não consegue encontrar o que você precisa?

  • Contate-nos

    Você tem alguma pergunta sobre o Rainbow? Deixe-nos uma mensagem para obter mais informações.

    Contato
  • Pergunte à Comunidade

    Você precisa de ajuda? Faça suas perguntas na Comunidade para obter respostas de outros usuários do Rainbow.

    Enviar mensagem