Some users cannot authenticate with SSO. api/usertoken/GetToken returns 404 #6652
Labels
Area: Teams
The issue is related to Teams support
bug
Indicates an unexpected problem or an unintended behavior.
needs-triage
The issue has just been created and it has not been reviewed by the team.
Version
SDK Platform: C#
SDK Version: Bot Builder 4.18.0
Active Channels: Teams
Deployment Environment: Azure Bot Service
Describe the bug
Some users cannot authenticate in our Bot using SSO. Logs indicate that endpoint
https://api.botframework.com/api/usertoken/GetToken?userId={user-id}&connectionName=BotOAuth&channelId=msteams
returns 404.This issue affects only some of users, for some it works fine.
SSO worked fine for users with this problem before, no code or configuration changes were made in bot.
GetToken does not work for every user if we create new Connection (with exactly the same setting as existing connection) in Azure Bot resource.
Expected behavior
Successful response with token or error with clear message if something is wrong
Additional context
We based our bot on sample Bot SSO Setup
The text was updated successfully, but these errors were encountered: