ceramicstudio/js-3id-did-provider

Error: authMap is undefined

oed opened this issue · 0 comments

oed commented

Reported on discord:


Paul 3⃣12/11/2020
@oed 3⃣ I got Uncaught (in promise) Error: authMap is undefined error thrown by https://github.com/ceramicstudio/js-3id-did-provider/blob/main/src/three-idx.ts#L138 it seems trying to create a new account in 3ID Connect, is this a known issue please?

keshavg96Yesterday at 10:49 PM
Hi @oed 3⃣ @paul 3⃣, I am still getting this issue. I am using the following versions.

"3id-blockchain-utils": "^1.3.1",
"3id-connect": "^1.0.0-alpha.8",
"3id-did-provider": "0.2.0",


I think there are two main things to do to mitigate this:

  • LoadIDX should return null if authMap is not found
  • Properly order the creation of documents (the link from authSecret to DID/idx should happen last, once other documents have been created)