Closed nodlesh closed 2 months ago
What method are you using to accept the oob invitation? I think the invitation is directly transformed into a ConnectionInvitationMessage. Usually we use agent.oob.receiveInvitationFromUrl which handles the different invitation types. If you only have the json you need to look at the @type
and based on that you need to either parse it to ConnectionInvitationMessage or OutOfBandInvitation
Thanks for the reply. I am using the agent.oob.receiveInvitation
method. Yes, all the reference code that I've found uses the agent.oob.receiveInvitationFromUrl
.
I have it working now. I didn't notice the other JsonTransformer
method that does the OutOfBandInvitation
On a related note. I expected the state to come back as something like invitation-received
, but it comes back as request-sent
instead. I'd expect that to happen if I called oob.accept-invitation
. Has credo jumped the gun here and already sent the request or is the state incorrect?
I've got an ACA-Py agent that created an OOB invitation. I cannot get that invitation to be successfully process by Credo in oob/receiveInvitation. This is the invitation,
Initially I would get errors that the recioientKeys and serviceEndpoint were missing. I moved them out of the services section and that seemed to clear up those errors. However, now I get that the type isn't valid.
How can I get this ACA-Py OOB invitation to be accepted by Credo?