You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The identity package in the passport repo handles:
issuing of VCs - this is a backend functionality, that is used in the IAM
fetching VCs - this functionality is used in the app, and it basically performs an http reuqest with axios to claim VCs from the iam
The fact that we have functionality for the app in there makes it hard to extend this module with additional features that are related to validation / issuance of stamps in backend services.
Tasks
move all app related functionality (fetchVerifiableCredential and its helpers) into the app. This means the identity module will only be used in the backend.
consolidate stamp verification and issuance into the identity module:
this means code that was performing validating of stamps in iam and embed should be consolidate (remove redundancies) and moved here
update implementation in iam to use the new functionality in the identity module
update implementation in embed to use the new functionality in the identity module
Ideally the package dependencies should look like:
flowchart TD
A[Iam] -->|stamp verification/issuance| I[identity]
E[embed] -->|stamp verification/issuance| I
I -->|stamp providers| P[Platforms]
U[app] -->|stamp & provider declaration & metadata| P
U -->|ceramic| F[database-client]
U -->|type definitions| T[types]
A -->|type definitions| T
E -->|type definitions| T
P -->|type definitions| T
I -->|type definitions| T
Loading
The text was updated successfully, but these errors were encountered:
The identity package in the passport repo handles:
The fact that we have functionality for the app in there makes it hard to extend this module with additional features that are related to validation / issuance of stamps in backend services.
Tasks
app
related functionality (fetchVerifiableCredential
and its helpers) into the app. This means the identity module will only be used in the backend.iam
andembed
should be consolidate (remove redundancies) and moved hereIdeally the package dependencies should look like:
The text was updated successfully, but these errors were encountered: