mirror of
https://github.com/HoneyryderChuck/httpx.git
synced 2025-11-22 00:05:57 -05:00
oauth: do not bail out on token endpoint (it's the rest that matters)
This commit is contained in:
parent
3cf07839cc
commit
a839c2d6f1
@ -60,7 +60,7 @@ module HTTPX
|
||||
end
|
||||
|
||||
def load(http)
|
||||
return if @token_endpoint && @token_endpoint_auth_method && @grant_type && @scope
|
||||
return if @token_endpoint_auth_method && @grant_type && @scope
|
||||
|
||||
metadata = http.get("#{@issuer}/.well-known/oauth-authorization-server").raise_for_status.json
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user