microsoft / BotBuilder-Samples

Welcome to the Bot Framework samples repository. Here you will find task-focused samples in C#, JavaScript/TypeScript, and Python to help you get started with the Bot Framework SDK!
https://github.com/Microsoft/botframework
MIT License
4.35k stars 4.87k forks source link

[nodejs][24.bot-authentication-msgraph] No reply address is registered for the application #756

Closed jonathanhotono closed 5 years ago

jonathanhotono commented 5 years ago

It seems that the sample on nodejs authentication to msgraph is not working quite right.

I'm getting message: AADSTS50011: No reply address is registered for the application when registering aad v2

Am I missing a step here? I'm using AADV2 authentication based and followed the tutorial here: https://docs.microsoft.com/en-us/azure/bot-service/bot-builder-authentication?view=azure-bot-service-4.0&tabs=javascript

I've made sure to enable Use a sign-in verification code for OAuthCards option in the emulator. image

Update: tried on teams and it does the same thing too: image

jonathanhotono commented 5 years ago

Update: I tried to use AADV1 and it works fine. Not sure why it doesn't work with AAD V2

JasonSowers commented 5 years ago

Did you set your reply URL in your AAD application to https://token.botframework.com/.auth/web/redirect like below :

image