microsoft / botframework-sdk

Bot Framework provides the most comprehensive experience for building conversation applications.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Bot Framework SSO Showing "Object Moved"

tedtheoneandonly opened this issue · comments

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

  • PR
  • Merged

Javascript SDK TODO

  • PR
  • Merged

Python SDK TODO

  • PR
  • Merged

Java SDK TODO

  • PR
  • Merged

Samples TODO

  • PR
  • Merged

Docs TODO

  • PR
  • Merged

Tools TODO

  • PR
  • Merged

Facing the same issue! :)