Skip to content

Commit

Permalink
debug
Browse files Browse the repository at this point in the history
  • Loading branch information
shihjay2 committed Jan 6, 2025
1 parent 3244f55 commit 104e498
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 7 deletions.
5 changes: 4 additions & 1 deletion lib/rp.ts
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,10 @@ export const rp = RP.builder({ requestVersion: SupportedVersion.SIOPv2_ID1 })
idTokenSigningAlgValuesSupported: [SigningAlgo.EDDSA, SigningAlgo.ES256],
requestObjectSigningAlgValuesSupported: [SigningAlgo.EDDSA, SigningAlgo.ES256],
responseTypesSupported: [ResponseType.ID_TOKEN],
vpFormatsSupported: { jwt_vc: { alg: [SigningAlgo.EDDSA, SigningAlgo.RS256, SigningAlgo.ES256] } },
vpFormatsSupported: {
jwt_vc_json: { alg: [SigningAlgo.EDDSA, SigningAlgo.RS256, SigningAlgo.ES256] },
jwt_vp_json: { alg: [SigningAlgo.EDDSA, SigningAlgo.RS256, SigningAlgo.ES256] }
},
scopesSupported: [Scope.OPENID_DIDAUTHN, Scope.OPENID],
subjectTypesSupported: [SubjectType.PAIRWISE],
subject_syntax_types_supported: ['did', 'did:ethr', 'did:key', 'did:jwk', 'did:web', 'did:ion'],
Expand Down
12 changes: 6 additions & 6 deletions pages/api/vp/share.ts
Original file line number Diff line number Diff line change
Expand Up @@ -48,13 +48,13 @@ async function handler(req: NextApiRequest, res: NextApiResponse) {
"id": "1",
"name": doc.vc_type + " Verifiable Credential",
"purpose": "We want a VC of this type to proof provider claim",
// "schema": [
// {
// "uri": "VerifiableCredential"
// }
// ],
"schema": [
{
"uri": "VerifiableCredential"
}
],
"format": {
"jwt_vc": {
"jwt_vc_json": {
"alg": [
"EdDSA"
]
Expand Down

0 comments on commit 104e498

Please sign in to comment.