User authentication when working with chatbot | SoloLearn: Learn to code for FREE!


User authentication when working with chatbot

Hello! Tell me, what are the ways to identify a user in chat bots? For example, a user communicates with a chat bot and at some point the bot needs to make sure that it is talking to the person with whom it should. A person must confirm his identity. Thanks in advance!

6/2/2020 7:39:44 PM

Liza Belova

2 Answers

New Answer


I've only just dived into networking so I'm not 100% sure but I'll give you my educated answer. The authentication would be implemented with some sort of cryptographic algorithms, using public and private keys, I'm not going to explain the steps because there are a lot of different steps for different algorithm. For example, if the chatbot was for banking, you could implement SSL and that will authenticate the client and keep the message integrity. Have a read about public and private key encryption, that'll be a good start.


rafalzacher1 , thanks so much for the helpful info.