User Authentication in Rasa


We are developing a a chatbot and there is a requirement to show the information to user only if the user is entitled to view this sensitive information. How can we implement AD (active directory) group authentication in Rasa? eg.

User : Hi!

Chatbot : Hi , I can help you with trade information. Please enter the reference number.

User : XXXXX

Chatbot : (Verifies user in the AD group) Sorry , you are not entitled to view these details.

Hey @poojadeshmukh, this sounds like it could be done with a custom action. The action could set some dedicated slot based on whether the user is in the group or not, and then a rule could condition the continuation on that slot’s value. Do you have any more specific questions at this point?