We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b2452f5 commit 31ef253Copy full SHA for 31ef253
1 file changed
src/main/java/com/authlete/jaxrs/server/vc/SdJwtOrderProcessor.java
@@ -39,6 +39,13 @@ protected void checkPermissions(
39
String format, Map<String, Object> requestedCredential)
40
throws InvalidCredentialRequestException
41
{
42
+ // If no issuable credential is associated with the access token.
43
+ if (issuableCredentials == null)
44
+ {
45
+ throw new InvalidCredentialRequestException(
46
+ "No credential can be issued with the access token.");
47
+ }
48
+
49
// As explained in https://www.authlete.com/developers/oid4vci/,
50
// it is challenging to implement this step in a manner consistent
51
// across all implementations due to the flaws of the OID4VCI spec.
0 commit comments