Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OAuth not properly handling response #1309

Open
diegoriera opened this issue Jun 26, 2024 · 8 comments
Open

OAuth not properly handling response #1309

diegoriera opened this issue Jun 26, 2024 · 8 comments
Assignees
Labels
bug Something isn't working

Comments

@diegoriera
Copy link

https://github.com/OfficeDev/Microsoft-Teams-Samples/tree/main/samples/bot-teams-authentication/python

This sample is not properly handling response received after OAuth.

image

@Prasad-MSFT
Copy link
Collaborator

@diegoriera - Thanks for raising your issue. We will check this at our end and will update you accordingly.

@Prasad-MSFT
Copy link
Collaborator

Prasad-MSFT commented Jun 27, 2024

@diegoriera - We tried to repro this issue with the provided sample and observed that it works as expected.

image
image

@diegoriera
Copy link
Author

@Prasad-MSFT
Copy link
Collaborator

Prasad-MSFT commented Jun 27, 2024

After using OAuth we are also encountering same issue.

image

image

image

Error in console:

{
    "errorCode": 1008,
    "message": "<BotError>Agent returned unsuccessful status code NotImplemented",
    "standardizedError": {
        "errorCode": 1008,
        "errorSubCode": 1,
        "errorDescription": "<BotError>Agent returned unsuccessful status code NotImplemented"
    }
}

Please let us know if you are encountering the same. Accordingly, we will discuss this internally and will get back to you.

@diegoriera
Copy link
Author

Yes, this is the exact behavior

@bogdanbujdea
Copy link

I'm having the same issue. When I test the connection from Azure I get the token, but it doesn't work from my bot.
image

{ "errorCode": 1008, "message": "<BotError>Agent returned unsuccessful status code NotImplemented", "standardizedError": { "errorCode": 1008, "errorSubCode": 1, "errorDescription": "<BotError>Agent returned unsuccessful status code NotImplemented" } }

@Prasad-MSFT
Copy link
Collaborator

We are able to repro this issue. We have raised a bug for the same. We will inform you once we get any further update from engineering team. Thanks!

@ChetanSharma-msft ChetanSharma-msft added bug Something isn't working and removed needs-triage 🔍 labels Jul 3, 2024
@c2js
Copy link

c2js commented Sep 19, 2024

I encountered this issue too.
If using Nodejs sample then it works.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

5 participants