Comments (10)
Hi Is there a solution to this?
from botframework-emulator.
@dhanala89 Can you try it with no MSA appId or password on both sides (bot and emulator)?
from botframework-emulator.
Strange! That worked. So is the solution going forward?
from botframework-emulator.
@eanders-ms yep, it works. But question is: Is it a bug or expected behaviour?
from botframework-emulator.
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.
@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.
@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.
@eanders-ms so there is no way to check your bot via emulator while you're offline?
from botframework-emulator.
@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.
@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)
- JSON previewer is not open HOT 2
- Login in to Emulator does not work HOT 2
- Token is not getting generated. HOT 2
- Can't connect to WSL with post 400 error about connection refused - emulator doesn't connect to localhost HOT 9
- OAuth Prompt not working in Emulator HOT 9
- Text output window size HOT 1
- Support of updateActivity (update message) and deleteActivity (delete message)
- Unable to remove ngrok configuration from botFreamwork-Emulator HOT 2
- Bot is not able to listen on http://localhost:3978/api/messages. HOT 5
- Is the Emulator still being actively maintained? HOT 8
- Arlington application id
- Bot Framework Emulator Login problem HOT 3
- Support ngrok v3.1 HOT 5
- Test 1
- Test 2
- "The bot's Microsoft App ID or Microsoft App Password is incorrect." after following Steps to Add Cosmos DB HOT 3
- Add support for Azure Relay service as an alternative for Ngrok HOT 4
- Typing indicator not rendering while waiting on a delayed activity
- I cant see my adaptive card on the Bot builder emulator, it appears as blank. HOT 3
- Update set-up documentation HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from botframework-emulator.