Skip to content

Commit 994653d

Browse files
committed
debug
1 parent 89681f9 commit 994653d

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

components/credentials.tsx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,11 +136,12 @@ export default function Credentials(props:any) {
136136
} else {
137137
vc_arr.push({'Credentials': 'None presented'})
138138
}
139+
console.log(vc_arr)
139140
setVcInstance(vc_arr);
140141
}, [props]);
141142

142143
useEffect(() => {
143-
load().catch(console.error);
144+
load().catch(console.error);
144145
},[load]);
145146

146147
if (pendingStatus) {
@@ -163,6 +164,7 @@ export default function Credentials(props:any) {
163164
</Stack>
164165
<h4>or Gather Verifiable Credentials:</h4>
165166
<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>
167+
<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>
166168
<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>
167169
<p>Then select the Verifiable Credential type below:</p>
168170
</div>

lib/rp.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ const createAuthRequest = async(nonce:string, state:string, type:string, pd_id:s
4242
"fields": [
4343
{
4444
"path": [
45-
"$.email"
45+
"$.vc.credentialSubject.email"
4646
]
4747
}
4848
]
@@ -112,7 +112,7 @@ const createAuthRequest = async(nonce:string, state:string, type:string, pd_id:s
112112
{
113113
"id": "1",
114114
"name": type + " Verifiable Credential",
115-
"purpose": "We want a VC of this type to proof provider claim",
115+
"purpose": "We want a VC of this type to proof claim",
116116
"constraints": constraints,
117117
"schema": [
118118
{

0 commit comments

Comments
 (0)