May 08 2023 09:37 AM - edited May 08 2023 09:46 AM
Hi Microsoft folks! We have been trying to get our OAuth2 connection to our REST API to work via Azure Bot but we have been hitting a roadblock. Here is the problem.
The OAuth2 redirect URI (https://token.botframework.com/.auth/web/redirect) keeps returning the following response:
{
"message": "Login failed",
"statusCode": 503,
"responseBody": "503 Service Unavailable. No server is available to handle this request."
}
Here are the following steps that we have taken in an attempt to get the OAuth2 integration to work:
When we hit on Test Connection, Azure correctly directs us to our app's authorization grant page. However, once the user grants access, the callback to token.botframework.com with the authorization code provided in the code query param times out and fails with the above message.
I have personally tested out the flow manually via Postman and could retrieve access tokens from our API so it's not something wrong on our end.
The server response is not descriptive enough and as a result, we do not know how to proceed. We have seen a few posts online facing sort of (not exactly) the same issue but without any meaningful resolution.
Could you please provide advice and / or someone to guide us through resolving this issue?
Thanks!
May 08 2023 09:55 PM
May 10 2023 01:48 AM
May 12 2023 03:15 PM
May 15 2023 12:57 AM