Skip to content

Feat: Add unmasked phone_number to decoded certificate #2

@bharatkashyap

Description

@bharatkashyap

Adding decentralized ID to Digital Saathi certificate

  • The goal is for verifiers/third parties to be able to obtain the phone number from the certificate upon decoding

Implementation

  • We will need to add additional middleware to the current /certificate handler
  • From the tracking key, we need to make a graphQL API call to the database and obtain the unmasked phone number on the server through the HASURA_ADMIN_SECRET
  • We need to add the obtained phone_number to the /certificate request
  • The phone_number will be added to the verifiable credential being generated here

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions