Giter VIP home page Giter VIP logo

Comments (2)

nzthiago avatar nzthiago commented on May 24, 2024

It's a bug we've seen before, it's a problem on the Teams channel and how they format it when you copy and paste - does it work if you simply type the numbers in without copying and pasting?

See the "Verifying user identity using the 'magic number'" section in the following link for the question on why not send the token directly to the bot:
https://docs.microsoft.com/en-us/bot-framework/bot-design-pattern-integrate-browser

That is, it's important when the bot is in a channel with multiple users, to help match a user to their token. For example, in a team chat:

  • You include the bot.
  • I want to connect to Azure, and the logon button shows up, associated with my user id.
  • But instead you click on it and enter your credentials for Azure.
  • That means after you authorize the bot would have my user id and your oauth token. That is, your oauth token is set in my userdata, by mistake of course.
  • Now I can use the bot to connect to all your Azure subscriptions, etc.

Note that there is no new work being done with this bot and it was created as a sample, but we still leave it running for people that want to use it. It'll most likely be discontinued in the next few months.

from azurebot.

Rambalac avatar Rambalac commented on May 24, 2024

You can do it at least if login is called in personal chat. Or if login is used in group chat send button to private chat and in group chat post message like "Please press button in bot's personal chat".

from azurebot.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.