Skip to content

Commit 65b45fa

Browse files
committed
fix payload
1 parent 0842cea commit 65b45fa

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

pages/api/vp/share.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,8 @@ async function handler(req: NextApiRequest, res: NextApiResponse) {
3636
const nonce = uuidv4();
3737
const state = uuidv4();
3838
const payload = {
39+
"iss": identifier.did,
40+
"aud": identifier.did,
3941
"response_type": "vp_token id_token",
4042
"scope": "openid",
4143
"client_id": identifier.did,

0 commit comments

Comments
 (0)