Genesys Cloud - Main

 View Only

Discussion Thread View
  • 1.  How to Verify User Authentication in a Digital Bot Flow?

    Posted 23 days ago

    Hi ,

    I'm working within a digital bot flow in Genesys cloud, and I need to verify if the user is authenticated. In the inbound message flow, I see that we can access the message.isAuthenticated value, but this doesn't seem to be available directly in the digital bot flow.

    I've tried passing the isAuthenticated value from the inbound message flow to the digital bot flow, but noticed that if the user authenticates during the interaction with the bot, the isAuthenticated value doesn't reflect the updated status.

    Has anyone faced this issue or found a workaround to dynamically check the user's authentication status within the digital bot flow?

    Thanks,
    Karthik


    #API/Integrations
    #DigitalChannels

    ------------------------------
    Karthik Ageer
    Computer Generated Solutions, Inc.
    ------------------------------


  • 2.  RE: How to Verify User Authentication in a Digital Bot Flow?

    GENESYS
    Posted 23 days ago

    Hello Karthik, 

    Its not surprising that message.isAuthenticated is not available in the digital bot flow. As I believe its a message flow only value and I believe what you are seeing is expected behavior. 

    I would be interested into seeing what the community has to say as a work around as I cannot think of anything that would dynamically check to see the users authentication status. 

    Cheers, 



    ------------------------------
    Cameron Tomlin
    Online Community Manager/Moderator
    Genesys - Employees
    ------------------------------



  • 3.  RE: How to Verify User Authentication in a Digital Bot Flow?

    GENESYS
    Posted 16 days ago
    Edited by Nicole Milliken 16 days ago

    Hi Karthik!

    Your question was covered in the newest episode of the Genesys Cloud Q&A Show. Hope this helps you out :)



    ------------------------------
    Nicole Milliken
    Genesys - Employees
    ------------------------------



  • 4.  RE: How to Verify User Authentication in a Digital Bot Flow?

    Posted 16 days ago

    Hi Nicole, 

    we are already using the Step up authentication Beta program, we are able to authenticate in during the conversation, however there is no variable/ flag inside the Digital bot flow to check the authentication status . For the bot to validate and move to the next step we need the isauthenticated flag to be updated inside the digital bot flow. 



    ------------------------------
    Karthik Ageer
    Computer Generated Solutions, Inc.
    ------------------------------



  • 5.  RE: How to Verify User Authentication in a Digital Bot Flow?

    GENESYS
    Posted 16 days ago

    Hey @George Ganahl and/or @Maxim Tsvetov - any ideas on Karthik's response above? Thanks, guys!



    ------------------------------
    Nicole Milliken
    Genesys - Employees
    ------------------------------



  • 6.  RE: How to Verify User Authentication in a Digital Bot Flow?

    Posted 16 days ago

    The Message.IsAuthenticated variable is not something you can set and only set when it goes through and authenticated messaging session.  The step-up authentication assumes you are asking customers to go through the OpenID authentication method and that would set this attribute.  If you are not using the standard authenticated and using something like OTP in the Bot, you will need to use your own variable to designate that they have been authenticated. 



    ------------------------------
    Robert Wakefield-Carl
    ttec Digital
    Sr. Director - Innovation Architects
    Robert.WC@ttecdigital.com
    https://www.ttecDigital.com
    https://RobertWC.Blogspot.com
    ------------------------------



  • 7.  RE: How to Verify User Authentication in a Digital Bot Flow?

    GENESYS
    Posted 16 days ago

    Robert, correct me if I'm wrong (I have not had a chance to work with the beta yet) in order to have the Bot automatically recognize that authentication is complete, doesn't the Bot need to prompt the customer to authenticate if the conversation is already interacting with the Bot (in addition to using the OpenID authentication)?

    I may be completely wrong on that...



    ------------------------------
    George Ganahl GCP, GCSME, ICCE, ICHD, etc.
    Senior Principal PS Consultant
    Genesys
    ------------------------------



  • 8.  RE: How to Verify User Authentication in a Digital Bot Flow?

    Posted 16 days ago
    I have not set up, but my understanding is that mid stream you can ask the user to authenticate.


    Robert

     

    Robert Wakefield-Carl

    Sr. Director – Innovation Architects 

    Robert.WC@ttecdigital.com

    T: 949-268-5104

    C: 310-350-2010

    Teams: robert.wc@ttecdigital.com

    Schedule:  https://calendly.com/RobertWC

    Blog: https://RobertWC.blogspot.com

    Subscribe to  ttec Digital Thoughts






  • 9.  RE: How to Verify User Authentication in a Digital Bot Flow?

    GENESYS
    Posted 16 days ago

    @Karthik Ageer a couple of questions, based upon your experience:

    1. What are you using to do the authentication? Are you using OpenID Connect Messenger Configuration as specified at https://help.mypurecloud.com/articles/configure-messenger/?
    2. Are you somehow doing the authentication from the Messaging conversation after the Bot flow has started but outside of the Bot flow, and expecting the Bot flow to get the updated information somehow?


    ------------------------------
    George Ganahl GCP, GCSME, ICCE, ICHD, etc.
    Senior Principal PS Consultant
    Genesys
    ------------------------------



  • 10.  RE: How to Verify User Authentication in a Digital Bot Flow?

    Posted 11 days ago

    Hi George,

    Yes I am using OpenID Connect Messenger configuration. 

    I am calling  digital bot flow at the very beginning of the inbound message flow. As part of the step up authentication feature, we got the sign in button on the top right corner of the messenger window and the user would click this sign in button for authentication. I would expect a variable/flag available inside the digital bot flow to verify the user authentication status. 



    ------------------------------
    Karthik Ageer
    Computer Generated Solutions, Inc.
    ------------------------------



Need Help finding something?

Check out the Genesys Knowledge Network - your all-in-one access point for Genesys resources