openwallet-foundation / acapy

ACA-Py is a foundation for building decentralized identity applications and services running in non-mobile environments.
https://aca-py.org
Apache License 2.0
419 stars 512 forks source link

fix: enable refreshing did endpoint using mediator info #3260

Closed dbluhm closed 1 month ago

dbluhm commented 1 month ago

This PR makes it possible to update endpoint info with mediator information after the initial endpoint publish.

The POST /wallet/public/did endpoint was capable of setting the endpoint with mediator info (routing keys, mediator endpoint). However, if your mediator changes after the initial publish, there wasn't a (convenient) way for the controller to refresh the endpoint with the new mediator info. This adds this functionality to the POST /wallet/set-did-endpoint to do just that.

sonarcloud[bot] commented 1 month ago

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
100.0% Coverage on New Code
0.0% Duplication on New Code

See analysis details on SonarCloud