Skip to content

Conversation

ivant
Copy link

@ivant ivant commented Feb 9, 2025

This provides support for performing OAuth 2.0 Bearer Token Authorization (RFC 6750) by setting an Authorization header to a fixed token value within the client.

While it is true that it is possible to do that using a MiddleWare, the code becomes much more cumbersome in cases where middleware is not used otherwise. Having a per Client "middleware" rather than per request makes more sense in case of authorization (see for example #22).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant