Skip to content

Commit

Permalink
fix: remove hardcoded variables in response types
Browse files Browse the repository at this point in the history
  • Loading branch information
chsavvaidis committed Feb 17, 2025
1 parent 218cfc2 commit bcbba6d
Showing 1 changed file with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -369,11 +369,11 @@ object OpenID4VCI {
subjectTypesSupported = setOf(SubjectType.public),
credentialIssuer = baseUrl,
responseTypesSupported = setOf(
"code",
"vp_token",
"id_token"
), // (EBSI) this is required one https://www.rfc-editor.org/rfc/rfc8414.html#section-2
idTokenSigningAlgValuesSupported = setOf("ES256"), // (EBSI) https://openid.net/specs/openid-connect-self-issued-v2-1_0.html#name-self-issued-openid-provider-
ResponseType.Code.value,
ResponseType.VpToken.value,
ResponseType.IdToken.value
),
idTokenSigningAlgValuesSupported = setOf("ES256"),
codeChallengeMethodsSupported = listOf("S256"),
credentialSupported = credentialSupported?.
filterValues { credential ->
Expand Down

0 comments on commit bcbba6d

Please sign in to comment.