Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feature/jarm_sdk #158

Merged
merged 86 commits into from
Oct 21, 2024
Merged
Changes from 1 commit
Commits
Show all changes
86 commits
Select commit Hold shift + click to select a range
e9dd686
feat: changed the default uri scheme to openid4vp
sksadjad Sep 3, 2024
5954644
chore: fixed tests to be inline with changes in the uri scheme of rp
sksadjad Sep 3, 2024
44b35dc
chore: fixed tests to be inline with changes in the uri scheme of rp
sksadjad Sep 3, 2024
e3e862f
Merge remote-tracking branch 'origin/feat/SPRIND-50' into feature/fro…
sanderPostma Sep 13, 2024
820e507
chore: cherry picked & cleaned up changes from Funke branch
sanderPostma Sep 13, 2024
08d54c9
chore: new ssi-sdk
sanderPostma Sep 16, 2024
f2b5a4b
chore: getTypesFromCredentialSupported fix for v13
sanderPostma Sep 17, 2024
fa80d94
Merge remote-tracking branch 'origin/develop' into feature/from-funke
sanderPostma Sep 18, 2024
072576a
chore: post-merge fixes
sanderPostma Sep 19, 2024
d7fb47a
Merge branch 'fix/conformance-fixes' into feature/from-funke
sanderPostma Sep 20, 2024
faa6060
Merge remote-tracking branch 'origin/fix/post-merge' into feature/fro…
sanderPostma Sep 20, 2024
4a43bd7
chore: test-utils fix
sanderPostma Sep 20, 2024
ec20823
chore: lib version updates
sanderPostma Sep 23, 2024
8ae9923
chore: updated pex version
sanderPostma Sep 23, 2024
e929c18
chore: updated pex version
sanderPostma Sep 23, 2024
6fde238
chore: updated pex version
sanderPostma Sep 23, 2024
ab32f58
chore: updated pex version
sanderPostma Sep 23, 2024
f0375b5
chore: disabled test which should fail but does not anymore
sanderPostma Sep 23, 2024
505ee0d
chore: expect possible mdocs in assertValidVerifiablePresentations
sanderPostma Sep 23, 2024
695f4a9
chore: fixes during conformance testing
sanderPostma Sep 25, 2024
22ec4c9
chore: latest pex
sanderPostma Sep 25, 2024
872893a
chore: PR feedback
sanderPostma Sep 25, 2024
48418e4
chore: reverted unnecessary event changes
sanderPostma Sep 25, 2024
9017e1f
chore: lockfile
sanderPostma Sep 25, 2024
95e52dc
chore: evaluationResults.errors eval fix
sanderPostma Sep 26, 2024
6e2a518
chore: dummy commit
sanderPostma Sep 26, 2024
304c131
chore: conformance cherrypicks
sanderPostma Sep 26, 2024
2684b15
chore: ts compile fixes
sanderPostma Sep 27, 2024
c97c034
chore: fixed tests
sanderPostma Sep 27, 2024
c3767b6
chore: fixed tests
sanderPostma Sep 27, 2024
d36176c
chore: fixed tests
sanderPostma Sep 27, 2024
2a8e323
chore: fixed correlationId issue
sanderPostma Sep 27, 2024
339661c
chore: fixes for mattr.launchpad.spec.ts
sanderPostma Sep 27, 2024
9d73138
chore: siop-oid4vp tests passing
sanderPostma Sep 27, 2024
6af9026
chore: picks from conformance branch
sanderPostma Sep 27, 2024
78339f3
Merge branch 'feature/branched-off-develop-20240918' into feature/fro…
sanderPostma Sep 27, 2024
020cb9a
chore: fixed tests
sanderPostma Sep 27, 2024
00f6008
chore: new pexversion
sanderPostma Oct 1, 2024
11890c5
chore: new pexversion
sanderPostma Oct 1, 2024
7f68c75
chore: new pexversion
sanderPostma Oct 1, 2024
104fa7e
chore: dummy commit
sanderPostma Oct 1, 2024
0d48112
chore: lockfile
sanderPostma Oct 1, 2024
9a9f1ab
chore: added redirectUri support
sanderPostma Oct 2, 2024
6900e09
chore: redirectUri correlationId & state params substitution
sanderPostma Oct 2, 2024
b10e7a4
chore: redirectUri fix
sanderPostma Oct 2, 2024
549dddb
chore: multi-vp fixes
sanderPostma Oct 2, 2024
2eda61d
chore: multi-vp fixes
sanderPostma Oct 2, 2024
993a655
chore: multi-vp fixes
sanderPostma Oct 2, 2024
e4e28fa
chore: redirect_uri changes
sanderPostma Oct 2, 2024
e194376
chore: lockfile
sanderPostma Oct 2, 2024
dc97861
chore: updated test
sanderPostma Oct 2, 2024
b3104e6
Merge remote-tracking branch 'auer-martin/jarm' into feature/jarm_sdk
nklomp Oct 3, 2024
7effabd
chore: merge fixes
nklomp Oct 3, 2024
0d7ae93
chore: responseRedirectUri fixes
sanderPostma Oct 3, 2024
fba3f6b
chore: redirect_uri changes
sanderPostma Oct 2, 2024
04dc758
chore: responseRedirectUri fixes
sanderPostma Oct 3, 2024
6e7f459
chore: remove old resolutions
sanderPostma Oct 3, 2024
9429e05
chore: set released version of ssi-types
sanderPostma Oct 3, 2024
566f226
chore: fixed broken word
sanderPostma Oct 3, 2024
25e694d
chore: getResponseRedirectUri mappings optional
sanderPostma Oct 3, 2024
34d9734
Merge remote-tracking branch 'origin/develop' into feature/jarm_sdk
nklomp Oct 3, 2024
d69bad5
Merge remote-tracking branch 'origin/feature/SDK-35_redirect_uri' int…
nklomp Oct 3, 2024
604e62b
chore: merge fixes
nklomp Oct 3, 2024
e520711
fix: missing export
nklomp Oct 3, 2024
e71cd2d
feat: Improve create jarm response callback to also include clientMet…
nklomp Oct 3, 2024
1c1b668
chore: schema update
sanderPostma Oct 4, 2024
be5ceef
feat: Update CI to build branch named unstable releases, fixing dupli…
nklomp Oct 4, 2024
cc8fd0a
Merge branch 'feature/SDK-35_redirect_uri' into feature/multi-vp-fixes
sanderPostma Oct 4, 2024
2ea042b
chore: lockfile
sanderPostma Oct 4, 2024
355a256
chore: fixed $[0] issue
sanderPostma Oct 7, 2024
fffe923
Merge branch 'feature/multi-vp-fixes' into feature/jarm_sdk
sanderPostma Oct 7, 2024
2c7d3e6
chore: pex fixes
sanderPostma Oct 7, 2024
3c63a27
chore: clientMetadata fix
sanderPostma Oct 7, 2024
104a2b5
Merge pull request #156 from Sphereon-Opensource/feature/SDK-35_redir…
nklomp Oct 8, 2024
bb1002c
chore: fixed emitEvent's
sanderPostma Oct 9, 2024
e2dd3ce
Merge remote-tracking branch 'origin/develop' into feature/from-funke
nklomp Oct 9, 2024
05e3b18
chore: Post merge changes
nklomp Oct 9, 2024
019a955
Merge remote-tracking branch 'origin/feature/from-funke' into feature…
nklomp Oct 9, 2024
36c7e09
fix: Codecov
nklomp Oct 9, 2024
b3acdfb
fix: workflows
nklomp Oct 9, 2024
f439944
chore: PR feedback (partly)
sanderPostma Oct 9, 2024
51a21d6
Merge remote-tracking branch 'origin/feature/jarm_sdk' into feature/j…
sanderPostma Oct 9, 2024
d6854b9
chore: PR feedback (partly)
sanderPostma Oct 9, 2024
d0b4ad4
chore: PR feedback (partly)
sanderPostma Oct 10, 2024
d484513
chore: PR feedback (partly)
sanderPostma Oct 10, 2024
0603b43
chore: PR feedback (partly)
sanderPostma Oct 10, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
chore: getTypesFromCredentialSupported fix for v13
sanderPostma committed Sep 17, 2024
commit f2b5a4bdd05cbfb941474e1096cce495ab8593c6
16 changes: 13 additions & 3 deletions packages/client/lib/OpenID4VCIClientV1_0_13.ts
Original file line number Diff line number Diff line change
@@ -472,9 +472,19 @@ export class OpenID4VCIClientV1_0_13 {
console.log(`Not all credential types ${JSON.stringify(credentialTypes)} are present in metadata for ${this.getIssuer()}`);
// throw Error(`Not all credential types ${JSON.stringify(credentialTypes)} are supported by issuer ${this.getIssuer()}`);
}
} else if (metadata.credential_configurations_supported && !Array.isArray(metadata.credential_configurations_supported)) {
const credentialsSupported = metadata.credential_configurations_supported;
if (types.some((type) => !metadata.credential_configurations_supported || !credentialsSupported[type])) {
} else if (metadata.credential_configurations_supported && typeof(metadata.credential_configurations_supported) === 'object') {
let typeSupported = false;
Object.values(metadata.credential_configurations_supported).forEach((supportedCredential) => {
const subTypes = getTypesFromCredentialSupported(supportedCredential);
if (
subTypes.every((t, i) => types[i] === t) ||
(types.length === 1 && (types[0] === supportedCredential.id || subTypes.includes(types[0])))
) {
typeSupported = true;
}
})

if (!typeSupported) {
throw Error(`Not all credential types ${JSON.stringify(credentialTypes)} are supported by issuer ${this.getIssuer()}`);
}
}