v3 authentication tutorial not working with AAD v2 in the v3 Emulator
See original GitHub issuerepo steps:
- Follow the instructions in the v3 Authentication tutorial.
- When creating the AAD v2 application, use the following scopes: openid, Mail.Read, profile, and User.Read.
- When you set up the OAuth connection settings for your bot channels registration service, set scopes to openid Mail.Read profile User.Read.
- To verify that your settings are correct, click Test connection near the top of the page before clicking Save.
- Clone the Microsoft/BotBuilder repo and open CSharp\Samples\Microsoft.Bot.Builder.Samples.sln per the instructions.
- Set Microsoft.Bot.Sample.AadV2Bot.csproj as your startup project.
- Update the project’s Web.config file.
- Build the project and fix any build errors. (I’m trying to get Chris to fix these in the repo.)
- Run the project.
issues:
- Open the v4 Emulator, connect to your bot, type
me
, and click Sign in on the OAuth card.- Get a
Sorry, my bot code is having an issue.
message.
- Get a
- Open the v3 Emulator, and connect to your bot.
- Type
me
and click Sign in on the OAuth card. - If you get a
Sorry, my bot code is having an issue.
message, delete your user profile, end the conversation, reconnect to the bot, and typeme
and click Sign in on the OAuth card again.
- Type
- Well, today I’m still getting a
Sorry, my bot code is having an issue.
, but last week I was able to begin authentication. However,…- Singing in with my PIN generated one type of error in the resulting browser page.
- Singing in with my password and two-factor authentication resulted in a different error.
related:
- https://github.com/Microsoft/BotBuilder/issues/4830
- https://github.com/Microsoft/BotBuilder/issues/4811
- https://github.com/Microsoft/BotBuilder/issues/4768
- https://github.com/Microsoft/BotBuilder/issues/4709
and possibly more.
Issue Analytics
- State:
- Created 5 years ago
- Comments:8
Top Results From Across the Web
Add authentication to your Teams bot - Microsoft Learn
Learn how to enable authentication using third-party provider to a bot app in Teams using Azure AD.
Read more >Connect your app to the Authentication Emulator - Firebase
For security reasons, the Authentication emulator issues unsigned ID tokens, which are only accepted by other Firebase emulators, or the Firebase Admin SDK ......
Read more >Authentication in Kotlin Android apps with Azure AD B2C
This has been on our bucket list for a while and we finally got the chance to do it. On this stream, we...
Read more >Azure AD authentication - tutorials - Ionic Forum
Hello, I'm looking for a tutorial on how to enable Azure Active Directory ... Directory Authentication Library (ADAL) for Ionic 3. 2 Likes....
Read more >Authentication - Expo Documentation
Expo can be used to login to many popular providers on iOS, Android, and web! Most of these guides ... Get Your Config,...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@SuperJMN , here’s a screenshot for you. Note that the Messaging endpoint needs to use HTTPS.
@JonathanFingold could you please, post a screenshot of the Azure configuration page where you need to set the https endpoint? I’m facing the same problem. Thank you!