Skip to content

Commit

Permalink
debug
Browse files Browse the repository at this point in the history
  • Loading branch information
shihjay2 committed Feb 1, 2025
1 parent 89681f9 commit 994653d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
4 changes: 3 additions & 1 deletion components/credentials.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -136,11 +136,12 @@ export default function Credentials(props:any) {
} else {
vc_arr.push({'Credentials': 'None presented'})
}
console.log(vc_arr)
setVcInstance(vc_arr);
}, [props]);

useEffect(() => {
load().catch(console.error);
load().catch(console.error);
},[load]);

if (pendingStatus) {
Expand All @@ -163,6 +164,7 @@ export default function Credentials(props:any) {
</Stack>
<h4>or Gather Verifiable Credentials:</h4>
<p>First, make sure you have a <a href='https://talao.io/talao-wallet/' target='_blank'>Talao Credentials Wallet</a> installed on your smartphone device.</p>
<p>Once the wallet is installed, click on Settings and select Wallet Profile, and then select Custom. Leave all settings as it is and save and go back to the Settings screen.</p>
<p>If you are a provider - go to <a href='https://dir.hieofone.org/doximity' target='_blank'>HIE of One-Doximity Verifiable Credentials Issuer</a> to generate a Verifiable Credential.</p>
<p>Then select the Verifiable Credential type below:</p>
</div>
Expand Down
4 changes: 2 additions & 2 deletions lib/rp.ts
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ const createAuthRequest = async(nonce:string, state:string, type:string, pd_id:s
"fields": [
{
"path": [
"$.email"
"$.vc.credentialSubject.email"
]
}
]
Expand Down Expand Up @@ -112,7 +112,7 @@ const createAuthRequest = async(nonce:string, state:string, type:string, pd_id:s
{
"id": "1",
"name": type + " Verifiable Credential",
"purpose": "We want a VC of this type to proof provider claim",
"purpose": "We want a VC of this type to proof claim",
"constraints": constraints,
"schema": [
{
Expand Down

0 comments on commit 994653d

Please sign in to comment.