Skip to content

Commit d06cecf

Browse files
committed
debug
1 parent 98ac656 commit d06cecf

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

components/credentials.tsx

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,8 @@ export default function Credentials(props:any) {
4545
setLoading(true);
4646
if (value !== '') {
4747
const doc = props.doc;
48+
console.log(doc)
49+
console.log(props.doc)
4850
objectPath.set(doc, 'vc_type', value);
4951
const result = await fetch("/api/vp/share",
5052
{ method: "POST", headers: {"Content-Type": "application/json"}, body: JSON.stringify(doc) })
@@ -157,7 +159,7 @@ export default function Credentials(props:any) {
157159
<Button variant="contained" onClick={finish} startIcon={<div><DoneIcon/></div>}>Finished Gathering Credentials</Button>
158160
</Stack>
159161
<h4>or Gather Verifiable Credentials:</h4>
160-
<p>First, make sure you have a <a href='https://github.com/Sphereon-Opensource/mobile-wallet' target='_blank'>Sphereon Verifiable Credentials Wallet</a> installed on your smartphone device.</p>
162+
<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>
161163
<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>
162164
<p>Then select the Verifiable Credential type below:</p>
163165
</div>
@@ -173,7 +175,7 @@ export default function Credentials(props:any) {
173175
>
174176
<MenuItem value={''}>Select Credential...</MenuItem>
175177
<MenuItem value={'NPI'}>NPI Credential</MenuItem>
176-
<MenuItem value={'sphereon'}>Sphereon Wallet Identity Credential</MenuItem>
178+
<MenuItem value={'Email'}>Proof of Email Credential</MenuItem>
177179
</Select>
178180
</FormControl>
179181
</Box>
@@ -202,7 +204,7 @@ export default function Credentials(props:any) {
202204
} else {
203205
return (
204206
<div>
205-
<h4>Scan this QR code using your Sphereon Wallet app to retrieve the Verifiable Credential:</h4>
207+
<h4>Scan this QR code using your <Link href="https://talao.io/talao-wallet/" target="_blank">Talao</Link> app to retrieve the Verifiable Credential:</h4>
206208
<Box sx={{ display: 'flex', flexDirection: 'row', py: 2 }}>
207209
<Canvas
208210
text={qrCode}

lib/rp.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -40,9 +40,7 @@ const createAuthRequest = async(nonce:string, state:string, type:string, pd_id:s
4040
"fields": [
4141
{
4242
"path": [
43-
"$.vc.credentialSubject.name",
44-
"$.vc.credentialSubject.email",
45-
"$.vc.credentialSubject.dob"
43+
"$.email"
4644
]
4745
}
4846
]

0 commit comments

Comments
 (0)