Merge pull request #26409 from backstage/freben/resolve

Extend the "unable to resolve user identity" message
This commit is contained in:
Fredrik Adelöw
2024-09-02 11:07:35 +02:00
committed by GitHub
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.',
);
};
}