0
votes

I'm trying to add authentication to my bot so it can access the Graph. I am using the tutorial from Microsoft

https://docs.microsoft.com/en-us/azure/bot-service/bot-builder-authentication?view=azure-bot-service-4.0&tabs=csharp ,

with the sample "C# Auth Graph". I did test the connection of the Bot Channel Registration in Azure. Everything fine. Now the problem -> When i start the program (using the emulator) and it prompts me to login, it shows me this :

enter image description here

What could I do to fix this? Any suggestions?

1
Have you added the OAuth key in the Bot Channels Registration?? - Mandar Dharmadhikari
yep everything like in the tutorial - Max
Double check the tenant and scopes on your OAuth setup. The bot is actually working as expected in your picture, but your oauth is not connecting to the right auth service provider from the look of it. - JJ_Wailes

1 Answers

0
votes

A coworker of mine saw this and pointed out that your Ngrok is not configured for the emulator. If you add ngrok to the emulator, it will solve this problem.