oauth: do not bail out on token endpoint (it's the rest that matters)

This commit is contained in:
HoneyryderChuck 2024-02-02 10:22:11 +00:00
parent 3cf07839cc
commit a839c2d6f1

View File

@ -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