aries-cloudagent-python icon indicating copy to clipboard operation
aries-cloudagent-python copied to clipboard

invite-base-url argument for aca-py start

Open bandirom opened this issue 2 years ago • 0 comments

Hello!

I defined this var in the command line as:

--invite-base-url http://192.168.1.104/invitation

POST: /connections/create-invitation Payload:

{
  "my_label": "Bob",
  "recipient_keys": [
    "H3C2AVvLMv6gmMNam3uVAjZpfkcJCwDwnZn6z3wXmqPV"
  ]
}

In the response we see that '/invitation' added as well:

image

I tried to receive the same result for OOB invitation

POST: /out-of-band/create-invitation Payload:

{
  "alias": "Barry",
  "handshake_protocols": [
    "did:sov:BzCbsNYhMrjHiqZDTUASHg;spec/didexchange/1.0"
  ],
  "my_label": "Invitation to Barry",
  "use_public_did": false
}

Response invitation url without /invitation

image

bandirom avatar Aug 23 '22 11:08 bandirom