Results 160 comments of Jeb Rosen

> I think the best way to handle sql connections would be to have worker threads that are basically dedicated to that Yeah, I think that's more or less the...

> Hello, > > I am submitting this PR to add an optional field for setting the USER_AGENT as Reddit [appears to have](https://www.reddit.com/r/redditdev/comments/137tb5m/api_returning_403_forbidden_error_when_requesting/) begun to require this header be set...

That's definitely frustrating. https://www.rfc-editor.org/rfc/rfc6749.html#section-5.1 states this about the token response: > access_token > REQUIRED. The access token issued by the authorization server. Because it's REQUIRED, `TokenResponse::token_type()` can be defined to...

I believe this was for a reason, but it may be time to revisit this. The most likely reasons I remember were: * Ability to test locally on e.g. `http://localhost:8000`....

> As an additional caveat, reading from the handle may block the calling future indefinitely if there is not enough data available. This makes this handle unsuitable for use in...

I've seen this before with I think every provider I've tried, also intermittently. One thing you might try is using the Network inspector in a browser to validate whether or...

This might be the same issue described in https://github.com/jebrosen/rocket_oauth2/issues/55#issuecomment-2076130618 and hopefully some of that information is helpful. I've seen issues before with `localhost` and/or HTTP vs HTTPS, with all providers...

So a while back (probably months or years?) I had actually started investigating PKCE and concluded that it was usually not relevant for servers using `rocket_oauth2`: PKCE primarily protects against...

@emirror-de I think I would start from this error: > ``>> Request guard `TokenResponse < Kanidm >` failed: Error { kind: ExchangeFailure, source: Some(hyper_util::client::legacy::Error(Connect, Custom { kind: Other, error: Custom...

A few questions and opinions on this topic, not especially organized: * The panic message should be more detailed if it's kept in. It can happen a lot of different...