Extend the "unable to resolve user identity" message

Signed-off-by: Fredrik Adelöw <freben@gmail.com>
This commit is contained in:
Fredrik Adelöw
2024-09-02 10:43:50 +02:00
parent da205cdc88
commit c46eb0fed2
2 changed files with 8 additions and 1 deletions
+5
View File
@@ -0,0 +1,5 @@
---
'@backstage/plugin-auth-node': patch
---
Extend the "unable to resolve user identity" message
@@ -66,6 +66,8 @@ export function readDeclarativeSignInResolver<TAuthResult>(
}
}
throw new Error('Failed to sign-in, unable to resolve user identity');
throw new Error(
'Failed to sign-in, unable to resolve user identity. Please verify that your catalog contains the expected User entities that would match your configured sign-in resolver.',
);
};
}