Azure Bot Generic OAuth Provider login failed status 500

M. Martens 0 Reputation points
2023-02-21T14:03:42.5466667+00:00

Hello,
I am building a teams bot, which needs authentication for our SaaS. I have adapted the bot-conversation-sso-quickstart (js) example.
Unfortunately the login fails with a 500 status code.

We are using a generic oauth provider (using ory hydra) and with the following setup:

Bildschirm­foto 2023-02-21 um 14.57.52

the flow is working as expected, but in the last step it fails with Login failed.
The same issue will also appear when I test it in the provider settings.
Unfortunately I really don't know how to debug it and what I need to do to fix it.
Any help would be highly appreciated!

Microsoft Teams
Microsoft Teams
A Microsoft customizable chat-based workspace.
9,915 questions
Microsoft Teams Development
Microsoft Teams Development
Microsoft Teams: A Microsoft customizable chat-based workspace.Development: The process of researching, productizing, and refining new or existing technologies.
3,187 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Sayali-MSFT 2,341 Reputation points Microsoft Vendor
    2023-03-20T08:43:04.61+00:00

    We are not able to repro the issue, it's working fine from our end.
    we tried with the below sample-
    https://github.com/OfficeDev/Microsoft-Teams-Samples/tree/main/samples/bot-teams-authentication/csha...
    Microsoft Teams Version 1.6.00.7068 (64-bit).

    If the session has expired due to any intermittent connectivity issues or interruptions, a “500 " appears.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.