bcgov/issuer-kit

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.

esune commented

Fixed in #127

esune commented

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.

esune commented

@sukalpomitra the above scenario happens when running in localhost using ngrok.

I also tried the identity-kit deployed to OpenShift:

  1. Connection remains in Negotiating state
  2. A credential offer is received while the connection is still in Negotiating
  3. Accepting the credential offer updates the credential exchange status to Requested
  4. 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
Screenshot 2020-02-06 at 11 56 29 AM
Screenshot 2020-02-06 at 11 59 10 AM