we are developing a teams bot that requires authentication/authorization. To authenticate/authorize the user, we use the OAUTH_PROMPT activity card. Our OAuth Provider is Ory hydra and it is configured with the following settings for the Azure Bot:
OAuth 2 Generic Provider:
The login fails with a status of 500 and the message "Login failed" using the bot framework emulator and also within "Test connection".
Unfortunately, we don't know how to debug it and we haven't seen any other failure information.
So any tips on how to debug it or why it fails would be appreciated!