mirror of
https://github.com/fosrl/pangolin.git
synced 2026-06-17 21:01:53 +00:00
fix: clarify IdP validation messages across policy flows
This commit is contained in:
committed by
GitHub
parent
ad1c8113ea
commit
3b68139873
@@ -79,7 +79,7 @@ export async function updateResourcePolicies(
|
||||
|
||||
if (!provider) {
|
||||
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(
|
||||
createHttpError(
|
||||
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(
|
||||
createHttpError(
|
||||
HttpCode.INTERNAL_SERVER_ERROR,
|
||||
"Identity provider not found in this organization"
|
||||
"Identity provider not found"
|
||||
)
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user