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

ImageUrl is absend for OOB invitation

Open bandirom opened this issue 2 years ago • 2 comments

Init data: env ACAPY_IMAGE_URL: http://localhost/alice-image.jpg (only for example) image: bcgovimages/aries-cloudagent:py36-1.16-1_0.7.1

Connection invitation

Request URL: http://192.168.1.106:10000/connections/create-invitation

{
    "handshake_protocols": [
        "did:sov:BzCbsNYhMrjHiqZDTUASHg;spec/didexchange/1.0"
    ],
    "use_public_did": false
}

Response:

image

You can see that the imageUrl key present in the response

OOB invitation:

Request URL: http://192.168.1.106:10000/out-of-band/create-invitation

{
"handshake_protocols": [
    "did:sov:BzCbsNYhMrjHiqZDTUASHg;spec/didexchange/1.0"
  ],
  "use_public_did": false
}

Response:

image

imageUrl is absend in the response

bandirom avatar Mar 24 '22 14:03 bandirom

Also tested with py36-1.16-1_0.7.4-rc0 and the issue was not solved

bandirom avatar Apr 22 '22 08:04 bandirom

The outofband RFC does not specify an image URL property. It's possible that other agents are adding one as a non-standard extension.

andrewwhitehead avatar Apr 22 '22 16:04 andrewwhitehead