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

SSO Samples for Python #3829

Open
vijaysaimutyala opened this issue Sep 27, 2022 · 2 comments
Open

SSO Samples for Python #3829

vijaysaimutyala opened this issue Sep 27, 2022 · 2 comments
Assignees
Labels
feature-request A request for new functionality or an enhancement to an existing one. needs-triage The issue has just been created and it has not been reviewed by the team. python Issues or PR's that update Python code

Comments

@vijaysaimutyala
Copy link

Use this query to search for the most popular feature requests.

Is your feature request related to a problem? Please describe.
So I've been trying to implement SSO on Teams using the Python Bot Framework SDK without much success. The reason is that we wanted to login the users before we let them use the bot on Teams. It might look like an additional step, but with Python not supporting Single Tenancy, this is the only option to secure the bot in case the App ID gets compromised. I was trying to replicate the SSO sample from dotnet but some of the methods are not implemented in the Python SDK if I'm not wrong. As per my research and according to docs, Python currently does not support Single Sign On.

Describe the solution you'd like
I would like to see a Teams SSO Sample for Python SDK

Describe alternatives you've considered
For now, I'll be going with the OAuth.

@vijaysaimutyala vijaysaimutyala added feature-request A request for new functionality or an enhancement to an existing one. needs-triage The issue has just been created and it has not been reviewed by the team. labels Sep 27, 2022
@faniereynders
Copy link

I am having the same issue. Even with the latest version, it seams SSO does not work the same way .NET is using the Python SDK. SSO works with Python via the web channel, but via Teams it just does not respond.

Error:

response = response or ResourceResponse(activity.id or "")
TypeError: __init__() takes 1 positional argument but 2 were given

This is running the standard Bot Authentication MS Graph sample

@tracyboehrer Do you have any idea? It is blocking.

@MariusFearn
Copy link

I have the same issue, code works fine for all but teams - just no response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature-request A request for new functionality or an enhancement to an existing one. needs-triage The issue has just been created and it has not been reviewed by the team. python Issues or PR's that update Python code
Projects
None yet
Development

No branches or pull requests

4 participants