Comments (3)
Thanks for filing this issue! If the use case is to support actors, then maybe the async requirement (#44) is more crucial here than the choice of HTTP client library. If we expose an async interface that returns a Future
, that seems like something that could be integrated with the actor model, regardless of how the underlying outbound HTTP requests are made.
I'm still in favor of providing an interface for customizing the HTTP backend (mainly to allow callers to specify TLS parameters, proxies, etc.), but I'm not sure if that would necessarily help integrating with something like actix-web
. In particular, the hyper::client::connect::Connect
trait is quite low-level (bytes sent/received), while something actor-related probably operates at a higher level of abstraction (e.g., HTTP requests/responses).
from oauth2-rs.
Actix also supports Sync Actors, so it is not that crucial.
It's probably more an ideal (that is not necessary) to have everything done using actix. But I think a pure rust solution (like hyper
) that does not depend on curl would be a better default.
from oauth2-rs.
multiple clients are supported in the latest master
from oauth2-rs.
Related Issues (20)
- google example issues HOT 1
- Better error messages for failed requests HOT 3
- Support OAuth2 with JSON Web Token HOT 1
- Add User-Agent customization HOT 4
- Google example works but fails for async with Yew/Actix-Web HOT 2
- Compounding the sleep intervals if there is an error in the http_client HOT 3
- Github Device Code Flow does not work HOT 1
- microsoft_devicecode flow broken HOT 9
- How do I track state-pkce_verifier pairs for each authorization flow? HOT 2
- refresh_token is None using the tumblr api HOT 1
- Facebook scopes are None HOT 4
- Error: Failed to parse server response. On attempt to exchange token HOT 3
- serde compilation error HOT 3
- Should Authorization Code Grant with PKCE require client secret? HOT 4
- Dealing with apis which don't include token_type in response HOT 2
- example related to AWS cognito? HOT 1
- Consider using `http::{Request, Response}` for easier conversion HOT 9
- Upgrade to http 1.0 HOT 17
- Google Url does not contain code HOT 1
- Does this crate support getting scope data like (profile) ? HOT 2
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 oauth2-rs.