lepture / authlib

The ultimate Python library in building OAuth, OpenID Connect clients and servers. JWS,JWE,JWK,JWA,JWT included.
https://authlib.org/
BSD 3-Clause "New" or "Revised" License
4.49k stars 448 forks source link

Please support urllib.request as a request client #540

Closed spacether closed 1 year ago

spacether commented 1 year ago

Is your feature request related to a problem? Please describe.

Some users may not want to use the requests library when making requests and may instead want to use std lib

Describe the solution you'd like

Please support urllib.request as the a request client This would allow this library to work without requiring requests when making sync requests

Describe alternatives you've considered

A clear and concise description of any alternative solutions or features you've considered.

Additional context

Add any other context or screenshots about the feature request here.

lepture commented 1 year ago

The API is very different from requests and httpx, won't add it.