Giter VIP home page Giter VIP logo

Comments (10)

NotTooReact89 avatar NotTooReact89 commented on May 22, 2024

Hi Is there a solution to this?

from botframework-emulator.

eanders-ms avatar eanders-ms commented on May 22, 2024

@dhanala89 Can you try it with no MSA appId or password on both sides (bot and emulator)?

from botframework-emulator.

NotTooReact89 avatar NotTooReact89 commented on May 22, 2024

Strange! That worked. So is the solution going forward?

from botframework-emulator.

sepulchered avatar sepulchered commented on May 22, 2024

@eanders-ms yep, it works. But question is: Is it a bug or expected behaviour?

from botframework-emulator.

eanders-ms avatar eanders-ms commented on May 22, 2024

Hi @dhanala89 No this doesn't have to be the solution going forward, it should work with a valid appId/password pair. In your code snippet, you're using '123' and '123' as your appId and password. This isn't a valid appId/password pair. I want to check with you to make sure you were testing with a valid appId and password, generated for you by the MSA service.

To generate valid MSA appId and password, just register your bot at botframework.com.

from botframework-emulator.

sepulchered avatar sepulchered commented on May 22, 2024

@eanders-ms I did try with registered app Id and password - result was the same. But anyway why validate appId/password for bot when you provide it in both bot and emulator? Ain't it enough that they just match? And if I just want to play with it and create several bots is it reasonable to make people register each of them, in order to properly test them in emulator?

from botframework-emulator.

eanders-ms avatar eanders-ms commented on May 22, 2024

@sepulchered We don't send password over the wire, so it is impossible to simply compare them. We rely on the MSA service to generate a token for us, which requires a valid MSA-generated appId and password.

from botframework-emulator.

sepulchered avatar sepulchered commented on May 22, 2024

@eanders-ms so there is no way to check your bot via emulator while you're offline?

from botframework-emulator.

eanders-ms avatar eanders-ms commented on May 22, 2024

@sepulchered MSA authentication requires internet connectivity. You can test your bot with the emulator offline by clearing out your MSA info on both sides of the connection (bot and emulator)

from botframework-emulator.

sepulchered avatar sepulchered commented on May 22, 2024

@eanders-ms I see. Thank you for explanation. Think it should be somewhere in the docs.
Also we can close this issue now, I think.

from botframework-emulator.

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.