Skip to content

[Bug]: Python sample 06.auth.oauth.bot #2515

@Carter-Apas

Description

@Carter-Apas

Language

Python

Version

latest

Description

Python sample 06.auth.oauth.bot is not working for me.
I have a tunnelled bot setup with ngrok. I believe I have setup the infra correctly.
Using the same infra setup the Javascript sample seems to work fine, using both OAuth and SSO.

When testing in Teams the following appears on the tunnel logs:
POST /teams/conversation 201 Created
POST /teams/conversation 412 Precondition Failed
POST /teams/conversation 501 Not Implemented

Is this sample supposed to work? Or has the underlying lib ( python botbuilder ) not implemented auth yet?

~ Carter

Reproduction Steps

1. Clone the repo
2. cd into ./python/samples/06.auth.oauth.bot
3. uv sync
4. uv run python ./src/app.py
5. Message your endpoint in teams

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions