Closed pastox closed 1 year ago
Thank you @pastox, we are investigating.
Hi @pastox,
I was not able to reproduce this issue using java bot sample 18.bot-authentication.
Followed the Create the Azure AD identity provider documentation to authenticate the bot.
Hi @pastox, any updates on this?
Hello @ramfattah thank you for your answer. Another colleague of mine tried to follow the same steps and reproduced the issue.
So we think it might be a problem related to our Azure organization/subscription. Do you know of any configuration differences in the Azure accounts/permissions/subscriptions that could cause such issues ?
Thank you in advance.
Hi @pastox,
Closing due Inactivity. @pastox please re-open if needed.
Github issues should be used for bugs and feature requests. Use Stack Overflow for general "how-to" questions.
Version
4.14.1
Describe the bug
I've been trying to use the bot samples in java, especially the bot-authentication one, which uses the SDK version 4.14.1
When using the OAuthPrompt Dialog from the SDK, the call to https://api.botframework.com/api/usertoken/GetToken performed by the SDK returns a 500 status error response. According to the code, the SDK awaits either a 200 or 404 status. This is probably an issue with the api but I'm posting here.
To Reproduce
Steps to reproduce the behavior:
Welcome to AuthenticationBot. Type anything to get logged in. Type 'logout' to sign-out.
logout
com.microsoft.bot.connector.rest.RestUserToken
on the first line of the methodServiceResponse<TokenResponse> getTokenDelegate(Response<ResponseBody> response)
Maybe I configured my Azure resources badly, but at least I would expect a client error status
Expected behavior
The API returns 404 and the Oauth prompt shows on the chat
Screenshots
If applicable, add screenshots to help explain your problem.
Additional context
Add any other context about the problem here.