You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Apr 5, 2023. It is now read-only.
// TODO list of allowed DIDs should be configurable
The adapter has a parameter ADAPTER_REST_UNIVERSAL_RESOLVER_URL=http://did.rest.example.com:8072/1.0/identifiers
that allows the adapter to resolve DIDs through uniresolver
but the adapter is hardcoded to only allow orb dids to be resolved through this http resolver URL
The text was updated successfully, but these errors were encountered:
Adapter only allows orb did
https://github.com/trustbloc/adapter/blob/main/cmd/adapter-rest/startcmd/start.go#L1053 (edited)
start.go
httpbinding.WithAccept(acceptsDID), httpbinding.WithHTTPClient(
https://github.com/[trustbloc/adapter](https://github.com/trustbloc/adapter)|trustbloc/adaptertrustbloc/adapter | Added by GitHub
this makes the httpbinding vdr (which is what sends the resolve request to the uniresolver server) accept only orb DIDs
adapter/cmd/adapter-rest/startcmd/start.go
Line 1001 in f4a3138
The adapter has a parameter ADAPTER_REST_UNIVERSAL_RESOLVER_URL=http://did.rest.example.com:8072/1.0/identifiers
that allows the adapter to resolve DIDs through uniresolver
but the adapter is hardcoded to only allow orb dids to be resolved through this http resolver URL
The text was updated successfully, but these errors were encountered: