Make the connection invitation in the issuer a URI
Closed this issue · 5 comments
Per @sukalpomitra the invitation from the issuer is not a URI - it's just the encoded invitation. That seems to work fine with the Streetcred agent, but is not correct. Please verify and if that is correct, adjust and verify it still works with Streetcred and with OSMA.
Example URI: http://iiwbook.vonx.io?c_i=gsgsgsgsg
What the issuer sends: gsgsgsgsg
Where gsgsgsgsg
is the encoded invitation JSON.
Link to relevant Aries RFC section: https://github.com/hyperledger/aries-rfcs/tree/master/features/0160-connection-protocol#standard-invitation-encoding
I could successfully go through the issuance process using StreetCred.
With OSMA I am now able to read the invitation and successfully establish a connection, however the flow stops when the issuer sends the credential offer as it appears that it is not received/processed by OSMA.
@sukalpomitra the above scenario happens when running in localhost using ngrok
.
I also tried the identity-kit
deployed to OpenShift:
- Connection remains in
Negotiating
state - A credential offer is received while the connection is still in
Negotiating
- Accepting the credential offer updates the credential exchange status to
Requested
- The flow seems to get stuck and breaks here
On a second attempt the connection remains in Negotiating
and no credential offer is received by OSMA.
@esune Everything worked for me