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.
2 parents 36d4d6e + d58e426 commit 715e0e8Copy full SHA for 715e0e8
packages/core/src/credentials/oidvc.ts
@@ -23,6 +23,10 @@ export async function acquireOpenIDCredentialFromURI({
23
holderKeyDocument,
24
});
25
26
+ if (!response) {
27
+ throw new Error('Unable to acquire credential. Please check your credential offer and try again.');
28
+ }
29
+
30
if (response.authorizationURL) {
31
const authorizationCode = await getAuthCode(response.authorizationURL);
32
response = await credentialServiceRPC.acquireOIDCredential({
0 commit comments