fix: clarify IdP validation messages across policy flows

This commit is contained in:
copilot-swe-agent[bot]
2026-06-16 23:46:51 +00:00
committed by GitHub
parent ad1c8113ea
commit 3b68139873
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -79,7 +79,7 @@ export async function updateResourcePolicies(
if (!provider) { if (!provider) {
throw new Error( throw new Error(
`Identity provider not found for policy '${policyNiceId}' in this organization` `Identity provider not found for policy '${policyNiceId}'`
); );
} }
@@ -214,7 +214,7 @@ export async function createResourcePolicy(
return next( return next(
createHttpError( createHttpError(
HttpCode.INTERNAL_SERVER_ERROR, HttpCode.INTERNAL_SERVER_ERROR,
"Identity provider not found in this organization" "Identity provider not found"
) )
); );
} }
@@ -114,7 +114,7 @@ export async function setResourcePolicyAccessControl(
return next( return next(
createHttpError( createHttpError(
HttpCode.INTERNAL_SERVER_ERROR, HttpCode.INTERNAL_SERVER_ERROR,
"Identity provider not found in this organization" "Identity provider not found"
) )
); );
} }