We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7924c29 commit ff39f51Copy full SHA for ff39f51
pages/api/vp/share.ts
@@ -38,7 +38,7 @@ async function handler(req: NextApiRequest, res: NextApiResponse) {
38
const state = uuidv4();
39
const jwk = createJWK("Ed25519", identifier.keys[0].publicKeyHex);
40
const payload = {
41
- "sub_jwk": jwk,
+ // "sub_jwk": jwk,
42
"sub": identifier.did,
43
"aud": identifier.did,
44
"response_type": "id_token",
@@ -50,6 +50,11 @@ async function handler(req: NextApiRequest, res: NextApiResponse) {
50
"nonce": nonce,
51
"state": state,
52
"registration": {
53
+ "did_methods_supported": [
54
+ "did:key",
55
+ "did:ethr:",
56
+ "did:web:"
57
+ ],
58
"id_token_signing_alg_values_supported": [
59
"RS256",
60
"ES256K",
0 commit comments