Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Universal resolver does not pass URL parameters to the backend driver #437

Open
ilya-korotya opened this issue Aug 9, 2024 · 0 comments

Comments

@ilya-korotya
Copy link
Contributor

I have two containers:

  1. Universal resolver web container
  2. iden3 DID driver container

I used the following pattern to register the driver:

- pattern: "^(did:iden3:.+)$"
  url: ${uniresolver_web_driver_url_did_iden3:http://driver-did-iden3:8080/}
  propertiesEndpoint: "true"
  testIdentifiers:
    - did:iden3:polygon:amoy:xC8VZLUUfo5p9DWUawReh7QSstmYN6zR7qsQhQCsw

Local Setup:

version: "3.6"

networks:
  default:
    name: universal-resolver

services:
  uni-resolver-web:
    image: universalresolver/uni-resolver-web:latest
    ports:
      - "8080:8080"
    environment:
      uniresolver_web_driver_url_did_polygonid: http://host.docker.internal:8081
      uniresolver_web_driver_url_did_iden3: http://host.docker.internal:8081
      LOG_LEVEL: "debug"

When I make a request to the universal resolver web container using curl and URL parameter signature=EthereumEip712Signature2021, like this:

curl "http://localhost:8080/1.0/identifiers/did%3Apolygonid%3Apolygon%3Aamoy%3A2qY71pSkdCsRetTHbUA4YqG7Hx63Ej2PeiJMzAdJ2V?signature=EthereumEip712Signature2021"

The URL parameter doesn't seem to be passed to the iden3 driver container.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant