microsoft / botframework-sdk

Bot Framework provides the most comprehensive experience for building conversation applications.
MIT License
7.51k stars 2.45k forks source link

Bot Framework SSO Showing "Object Moved" #6649

Open tedtheoneandonly opened 6 months ago

tedtheoneandonly commented 6 months ago

Github issues should be used for bugs and feature requests. Use Stack Overflow for general "how-to" questions.

Version

What package version of the SDK are you using. 4.2.2

Describe the bug

Give a clear and concise description of what the bug is. We're creating a new Teams bot that retrieves an AAD V2 token. A few days ago, we started seeing an issue where every time a user tries to log in, the AAD browser opens, but then it shows Objected Moved in the header, followed by a reroute to the Bot Framework site. Users can't log in and generate a token.

To Reproduce

Steps to reproduce the behavior:

  1. Send a request to a bot in Teams with SSO set up (based on the SSO example here: https://github.com/OfficeDev/Microsoft-Teams-Samples/blob/main/samples/bot-conversation-sso-quickstart/BotSSOSetup.md)
  2. The bot sends a login prompt, which you then click to sign in.
  3. A browser will appear to retrieve the token, but it will then show an "Object Moved" message in the header, and then reroute to the Bot Framework website.

Expected behavior

The browser should close by itself, meaning it returns a token and the bot will respond accordingly.

Screenshots

If applicable, add screenshots to help explain your problem.

image

Additional context

Add any other context about the problem here.

Tracking Status

Dotnet SDK [TODO]()

Javascript SDK [TODO]()

Python SDK [TODO]()

Java SDK [TODO]()

Samples [TODO]()

Docs [TODO]()

Tools [TODO]()

mdemarne commented 5 months ago

Facing the same issue! :)