interledger / open-payments

Protocol to setup payments between entities on the Web based on GNAP
https://openpayments.dev
Apache License 2.0
176 stars 29 forks source link

Add signature headers to AS endpoints #209

Open wilsonianb opened 1 year ago

wilsonianb commented 1 year ago

Move signature header parameters to shared schemas.yaml https://github.com/interledger/open-payments/blob/62c4b4a9875e3adaa21f89f597e88db43016fe0b/openapi/resource-server.yaml#L1324-L1339 Include header parameter in relevant grant request(s) https://github.com/interledger/open-payments/blob/62c4b4a9875e3adaa21f89f597e88db43016fe0b/openapi/resource-server.yaml#L221-L223 https://github.com/interledger/open-payments/blob/62c4b4a9875e3adaa21f89f597e88db43016fe0b/openapi/auth-server.yaml#L20-L22

njlie commented 1 year ago

Would it also make sense to include adding 401 responses to the AS endpoints for invalid signatures to the scope of this issue?