User authentication when working with chatbot | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

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!

2nd Jun 2020, 7:39 PM
Liza Belova
Liza Belova - avatar
2 Answers
+ 1
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.
3rd Jun 2020, 3:47 PM
rafalzacher1
+ 1
rafalzacher1 , thanks so much for the helpful info.
4th Jun 2020, 9:04 AM
Liza Belova
Liza Belova - avatar