User Authentication by Channel in Microsoft bot Framework

I want to create a bot that can be used for several channels, such as Skype, commands, SMS, etc. For this, I use the BotBuilder SDK. I would like to authenticate the user through these channels. How am I doing this without asking him to log in via a web page? Since I’m already registered with the application (say, Skype), how can I get the email address or number depending on the context and implicitly authenticate?

If I want to do this with OAuth, I would require the user to log in every conversation, which I suppose is not the right way

0
source share
1 answer

Quick response:

, .

, , - , , (, - ...).


, :

  • Facebook Messenger: "from": { "id": "1613014XXXXXXXXX", "name": "My Facebook Name" }

- PSID, . , URL- , Facebook- .

  • Slack: "from": { "id": "U54xxxxxx:T53xxxxxx", "name": "nicolas" }

Slack User ID Slack Team ID. - Slack

  • Skype: "from": { "id": "29:1DwlGVzj.....", "name": "My Skype Name" }

, , ( )

  • Skype : "from": { "id": "nicolas-r@myCompany.com", "name": "My SkypeForBusiness Name" }

...

  • Microsoft: "from": { "id": "29:1ar5DN....", "name": "Nicolas R" }

, Skype, ID - , , , ( )

  • Twilio SMS: "from": { "id": "+33600000000", "name": "+33600000000" }

-

== > , , -

+2

Source: https://habr.com/ru/post/1686232/


All Articles