Skip to content

Commit

Permalink
Fix device flow authorization endpoint
Browse files Browse the repository at this point in the history
Device authorization endpoint is `device_authorization_endpoint` as per https://www.rfc-editor.org/rfc/rfc8628.html#section-4
  • Loading branch information
bacek authored Nov 6, 2024
1 parent 35b0895 commit f8824ee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/oic/extension/device_flow.py
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ def authorization_request(self, scope=""):
req["scope"] = scope

http_response = self.host.http_request(
self.host.provider_info["device_endpoint"], "POST", req.to_urlencoded()
self.host.provider_info["device_authorization_endpoint"], "POST", req.to_urlencoded()
)

response = self.host.parse_request_response(
Expand Down

0 comments on commit f8824ee

Please sign in to comment.