Uh oh!
There was an error while loading. Please reload this page.
Add OAuth authentication client for HTTPX - #751
Conversation
pcarleton
left a comment
There was a problem hiding this comment.
minor nits, i also pushed a commit for scope handling.
I tested this against the typescript example, and it successfully connected after the scope fix
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
pcarleton
left a comment
There was a problem hiding this comment.
think it's upset about some linting errors. but otherwise lgtm!
aravind-segu
commented
May 19, 2025
@ihrpr Thank you very much for working on this request quickly! The OAuth implementation looks great and works well for our use case. With the Token Storage Provider in place, as long as the contract is maintained, we can also bypass the 3-legged OAuth flow and connect to MCP servers using an internally generated OAuth token - which is also perfect for us. |
Adding support for Auth in client using HTTPX Custom authentication schemes
.
NOTE: This PR adds support for Streamable HTTP, but SSE will be added as a follow up, all we need to do is to add one parameter.
This PR Implements Auth in spec version 2025-03-26
Follow ups:
Related Issues:
#652
Related PRs:
#700
#308