Skip to content

Commit ff39f51

Browse files
committed
debug
1 parent 7924c29 commit ff39f51

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

pages/api/vp/share.ts

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ async function handler(req: NextApiRequest, res: NextApiResponse) {
3838
const state = uuidv4();
3939
const jwk = createJWK("Ed25519", identifier.keys[0].publicKeyHex);
4040
const payload = {
41-
"sub_jwk": jwk,
41+
// "sub_jwk": jwk,
4242
"sub": identifier.did,
4343
"aud": identifier.did,
4444
"response_type": "id_token",
@@ -50,6 +50,11 @@ async function handler(req: NextApiRequest, res: NextApiResponse) {
5050
"nonce": nonce,
5151
"state": state,
5252
"registration": {
53+
"did_methods_supported": [
54+
"did:key",
55+
"did:ethr:",
56+
"did:web:"
57+
],
5358
"id_token_signing_alg_values_supported": [
5459
"RS256",
5560
"ES256K",

0 commit comments

Comments
 (0)