Comments (4)
I've been pulling my hair out at this as well for the past week! I couldn't get SSO examples working in Python, so moved into this MSGraph Auth, and while it logs in it won't log out.
I got to the point of determining its because the main app.py has switch from using the BotFrameworkAdapter
to the CloudAdapter
but don't think the logout.py has been updated to handle this update (as CloudAdapter
has no definition for sign_out_user()
).
I'm debating today on trying to roll back the packages instead of using the latest 4.14.8
, as one of the older releases may resolve this but I'm not hopeful.
from botbuilder-python.
Correction notes:
As a start, the samples LogoutDialog._interrupt should match the DotNet LogoutDialog.InterruptAsync.
UserTokenClient can be retrieved via:
user_token_client: UserTokenClient = inner_dc.context.turn_state.get(
UserTokenClient.__name__, None
)
This needs to be reviewed in Python SDK though, as it pertains to UserTokenClient being set in TurnState.
from botbuilder-python.
Related Issues (20)
- Recommended change to 3.8.6 or above HOT 2
- CloudAdapter' object has no attribute 'create_connector_client' HOT 13
- Add connect_named_pipe method to CloudAdapter in support of DirectLine Speech
- Can't deploy echo-bot.py. ModuleNotFoundError: No module named 'aiohttp' HOT 3
- CVE-2020-22083 security vulnerability in botbuilder-python SDK HOT 2
- botbuilder-integration-aiohttp - Python 3.12 compatibility HOT 4
- TeamsChannelAccount model missing aadObjectId
- Bot gives same response multiple times when deployed with azure bot service HOT 4
- BotBuilder-Python SSO not working HOT 5
- SSO: AttributeError: 'CloudAdapter' object has no attribute 'exchange_token' HOT 2
- Starting from 4.15.0 - <Request POST /api/messages > has failed with exception: KeyError('access_token') HOT 3
- Need to upgrade aiohttp dependency to 3.9.4 HOT 1
- use managed identity in Python bot HOT 4
- Correct deprecation warnings around ClientSession
- Correct deprecation warning with cgi
- Error while trying to use JwtTokenValidation.authenticate_request HOT 1
- valid_token_issuers incorrectly populated during SingleTenant validation
- Suggested Action with CardAction not working as expected.
- CloudAdapterBase.update_activity using wrong activity id argument
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from botbuilder-python.