Skip to content

Commit

Permalink
Support pushed_authorization_request_endpoint in from_discovery_document
Browse files Browse the repository at this point in the history
  • Loading branch information
rcombs authored Oct 29, 2024
1 parent 91b230d commit 273ae5b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions requests_oauth2client/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -2008,6 +2008,7 @@ def from_discovery_document(
revocation_endpoint = discovery.get(Endpoints.REVOCATION)
introspection_endpoint = discovery.get(Endpoints.INTROSPECTION)
userinfo_endpoint = discovery.get(Endpoints.USER_INFO)
pushed_authorization_request_endpoint = discovery.get(Endpoints.PUSHED_AUTHORIZATION_REQUEST)
jwks_uri = discovery.get(Endpoints.JWKS)
if jwks_uri is not None and not testing:
validate_endpoint_uri(jwks_uri)
Expand All @@ -2022,6 +2023,7 @@ def from_discovery_document(
revocation_endpoint=revocation_endpoint,
introspection_endpoint=introspection_endpoint,
userinfo_endpoint=userinfo_endpoint,
pushed_authorization_request_endpoint=pushed_authorization_request_endpoint,
jwks_uri=jwks_uri,
authorization_server_jwks=authorization_server_jwks,
auth=auth,
Expand Down

0 comments on commit 273ae5b

Please sign in to comment.