bcgov / entity

ServiceBC Registry Team working on Legal Entities
Apache License 2.0
23 stars 59 forks source link

Digital Credential Spike #23123

Closed mbertucci closed 2 months ago

mbertucci commented 2 months ago

How is the information captured in our application? How else can we capture the information step 2 Can we direct Housing applicants to use Digital Services Card instead of Service BC Card Does SBC Connect support digital credentials?

mbertucci commented 2 months ago

1) have sbc connect team

SSO team has done tests with Digtial ID and got it working .. follow up with SSO team

2) option to call Digital Credentials when we ask the applicant to input address, name etc.

fionazhou-jsb commented 2 months ago

Can get First Name, Last Name, Address, City and Province. Address is from BCSC on the file, meaning hosts will not be able to change the address unless they through address change process. Only one version of the credential can be saved. For example, credential for BCSC can only have one copy. Hosts need to remove existing one and add a new one (cannot have 2 versions at the same time). Options

    • integrate on Step 3, show QR code (fast to get registration)
    • integrate on Step 3, upload doc and use document reader
    • integrate at the beginning

From UX perspective, login with SBC via BCSC, and then need to use BC Wallet as an extra step

fionazhou-jsb commented 2 months ago

@shaangill025 can you pls document your findings here so we can close this ticket? Thank you

mbertucci commented 2 months ago

To look in to for future features::

Note: Bertucci, Mikaela CITZ:EX Yes, we can issue STR registration as verifiable credentials. The verification for these credentials are done via proof requests. We will have the ability to enforce the 1 year expiry for registration and also be able to revoke them.

In terms of work, we will have to define the STR registration credential schema, this credential schema specifies the attributes and structure. Then use this schema for creating a credential definition which includes revocation registry details and get that published on Candy PROD network. At this stage, we can start issuing STR registrations as credentials.

For the above workflow, https://github.com/bcgov/aries-vcr-issuer-controller will be used. I am not sure if Registries has an issuer agent already deployed. Getting the issuer agent's wallet seed to be registered on the Candy network will require Digital Trust support.

We can enforce that there is only one credential for a STR registration [issued latest] that is valid at any time.

In terms of verification/presentation, it offers selective disclosure, privacy as big advantages. I believe you have already outlined the other benefits of trust and authenticity [as it will untempered and can only be issued by us], privacy and preventing fraud.

shaangill025 commented 2 months ago

This are the credential attributes associated with Person credential [as currently specified with schema in Candy Prod] https://candyscan.idlab.org/tx/CANDY_PROD/domain/13

"attr_names": [
      "expiry_date_dateint",
      "birthdate_dateint",
      "locality",
      "street_address",
      "given_names",
      "family_name",
      "region",
      "country",
      "postal_code",
      "picture"
],
shaangill025 commented 2 months ago

For reference, if and when Person credential is to be integrated in SBC-Auth as an authentication method. https://github.com/bcgov/vc-authn-oidc

shaangill025 commented 2 months ago

Person credential There can only 1 valid personal credential for an individual at any given time. Each instance of BCWallet can only hold 1 person credential. If you try to get personal credential on a different phone [different instance of BCWallet] then the previously issued credential gets revoked.

FYI @mbertucci, in regards to https://www.addresschange.gov.bc.ca/, I am not sure what happens to the issued person credential when address for BC driving license is changed [wasn't able to test]. Will it be revoked and a new credential be issued?

There are 2 approached to handle this:

shaangill025 commented 2 months ago

Update: https://github.com/bcgov/von-bc-registries-agent for issuing credentials.