httpx Client documentation suggests realm is supported, but it is ignored. #1586
Unanswered
schinckel
asked this question in
Potential Issue
Replies: 1 comment 1 reply
-
Okey dokes. I guess you oughta open this against the |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
The documentation for
authlib.integrations.httpx_client.OAuth1Client
suggests it supports passing in arealm
argument, but it actually calls itOAuth1Session
, which probably means it is a copy-paste from the requests section.https://docs.authlib.org/en/latest/client/api.html?highlight=realm#authlib.integrations.httpx_client.OAuth1Client.fetch_request_token
Anyway, this value is not passed through to the underlying
OAuth1Auth
object, meaning my authentication was failing.(My workaround is to set the
client.auth.realm
after instantiation, but it's still a bit of a PITA).Beta Was this translation helpful? Give feedback.
All reactions