-
Notifications
You must be signed in to change notification settings - Fork 304
Closed
Labels
NEXTP1Painful if we don't fix, won't block releasingPainful if we don't fix, won't block releasingbugIndicates an unexpected problem or an unintended behavior.Indicates an unexpected problem or an unintended behavior.
Description
Version
Installed using instructions 'Using the SDK locally` in README
Describe the bug
SSO for singe tenant with Cloud Adapter does not work in Teams web/desktop client. Works in Web Chat.
To Reproduce
Steps to reproduce the behavior:
- Install the repo
- Enable SSO using
https://learn.microsoft.com/en-us/microsoftteams/platform/sbs-bots-with-sso?source=recommendations&tabs=ngrok&tutorial-step=4 - Upload Manifest and try sending a message to the bot
Expected behavior
SSO was working as of last week but is not working anymore. There was a bot infra outage a few days ago that caused an error when uploading manifest.json on the web/desktop app. Could it be related to that?
Additional context
Fails here:
elif not getattr(context.adapter, "exchange_token"):
# Token Exchange not supported in the adapter.
await context.send_activity(
self._get_token_exchange_invoke_response(
int(HTTPStatus.BAD_GATEWAY),
"The bot's BotAdapter does not support token exchange operations."
" Ensure the bot's Adapter supports the ExtendedUserTokenProvider interface.",
)
)
in botbuilder-python/libraries/botbuilder-dialogs/botbuilder/dialogs/prompts/oauth_prompt.py
Metadata
Metadata
Assignees
Labels
NEXTP1Painful if we don't fix, won't block releasingPainful if we don't fix, won't block releasingbugIndicates an unexpected problem or an unintended behavior.Indicates an unexpected problem or an unintended behavior.