Share on facebook
Share on twitter
Share on linkedin

How to Verify Credentials in Trinsic Studio

Issuing credentials is only half of the story when it comes to verifiable credential exchange. The other essential piece is verifying those credentials. In this post, we walk through the steps of how to verify credentials in Trinsic Studio. For a more in-depth explanation of verifications and how they work, please visit our documentation.

Before we begin

For this tutorial, we will be referring to Alice Smith who is a recent graduate of Faber College. Alice is looking to apply for a job at ACME Corp. and has started the process of filling out the company’s online application form.

 

In previous “how to” posts, we walked through the scenarios of 1) Faber College issuing Alice a university diploma in the form of a verifiable credential and 2) Alice creating a connection with ACME Corp. to securely begin applying for a job online. If you have not already completed these steps, we suggest you go back and complete those steps before continuing with the tutorial below.

Log in to Trinsic Studio

To do so, go to https://trinsic.studio/login. If you do not have a Trinsic Studio account, you can create one for free at https://trinsic.studio/. As mentioned above, you will need to complete the tutorials for issuing credentials and creating connections in Trinsic Studio before moving forward.

Create a verification template

Before Alice can fill out an online job application from ACME Corp., the company must create one. Let’s assume that ACME Corp. wants to request the following information in the application:

 

  • First Name
  • Last Name
  • Degree
  • Year

 

Because ACME Corp. wants to ensure the legitimacy of an applicant’s responses, the information listed above must come from a valid college diploma. So let’s get started creating the verification template.

 

First, get the Schema ID for the transcript. To do so:

 

  1. First, click on the Faber College organization card on the dashboard screen.
  2. Click on the “Credentials” tab.
  3. Copy the “Schema ID” from the College Diploma credential template.

Now create the job application template:

 

  1. Return to the dashboard screen and click on the ACME Corp. organization card.
  2. Click on the “Verifications” tab, and click the “+ Template” button.
  3. Name the verification “Job Application”.
  4. Now we are going to set the policies. Policies are a way to specify what data to request from a digital wallet. Click on the “+ Policy” dropdown, and you will see that there are two types of Policies—”Predicate” and “Attribute”. Select “Attribute”.
  5. Enter “Diploma Verification” as the policy name.
  6. In the “Select Credential Template” dropdown, select “Define Custom Attributes”.
  7. In the “Define Attributes” text box, enter the attribute names exactly as they appear in the credential template that you created for Faber College. So we will write in First Name, Last Name, Degree, and Year.
  8. In the “Credential Restrictions” dropdown, select “Schema ID” and paste the transcript schema ID into the text box that appears. This is so that only credentials issued from the template you created previously will pass the verification.
  9. Click the “Save Policy” button and wait a few seconds for the template to be saved.

Send a verification request

Now that ACME Corp. has set up its verification template, it can send its verification to Alice!

 

As ACME Corp.:

 

  1. In the “Verifications” tab, locate the verification template you’ll use to request a verification from Alice. Click on the “Request” button which corresponds to this template.
  2. In the list of “Send verification request via options”, select the “Connection” option.
  3. Click on the connection you’ve made for Alice.
  4. Click “Send Request”.

Now as Alice:

 

  1. Your Trinsic Wallet should get a push notification for the verification request from your ACME Corp. connection.
  2. From your home screen, select the verification request to respond. Once you’ve opened it, you can customize the information you share if you have more than one credential that can satisfy the request. In this case, we do not.
  3. If the information looks correct, press “Present”.

 

And just like that, Alice has securely sent ACME Corp. the information it asked for in the online job application.

In the Trinsic Wallet, a verification request notification will appear.
Once the user clicks on the verification request, the user can see what the verifier is asking for along with the information the user will be sending to the verifier.

Try it for yourself

Create your own verification workflow today on Trinsic Studio. For any questions you may have, refer to our documentation or feel free to ask your questions in our developer forum.