Digital Assistant and Mobile

Get Involved. Join the Conversation.


    Lukas Raymaekers
    Login in to bot using iOS SDK
    Topic posted August 23, 2018 by Lukas RaymaekersRed Ribbon: 250+ Points, tagged Bots, iOS 
    60 Views, 2 Comments
    Login in to bot using iOS SDK
    How do I log in to the bot using the iOS SDK?


    How do I log in to the bot using the code snippet (iOS, Swift) below?

    I need a userId and JWT, I do not, however, know where or how to get those.

    Kind regards,

    Lukas Raymaekers

    Code Snippet:



    • Marcelo Jabali

      Just out of curiosity, are you authenticating the user in your app as well or only when the user starts the conversation with the Bot?

      • Lukas Raymaekers
        Right now the user has to authenticate with MCS before he's able to do anything at all. But that doesn't make the conversation unique to the user. No matter which login is used, they share the same conversation, which is, of course, not ideal.