Infisical is the open-source platform for securing secrets, certificates, access, and AI Agents.
TypeScript acmeagentsai-agentscertificate-managementdevsecopsenvironment-variableskubernetesopen-sourcepampkipostgresprivate-caprivileged-access-managementsecret-managementsecret-managersecretssecrets-managementsecuritysecurity-toolsvault
Update identity-azure-auth-service.ts
Daniel Hougaard31fc64fb4c8a
diff --git a/backend/src/services/identity-azure-auth/identity-azure-auth-service.ts b/backend/src/services/identity-azure-auth/identity-azure-auth-service.tsindex cc61df65f8..8607060a46 100644--- a/backend/src/services/identity-azure-auth/identity-azure-auth-service.ts+++ b/backend/src/services/identity-azure-auth/identity-azure-auth-service.ts@@ -70,7 +70,9 @@ export const identityAzureAuthServiceFactory = ({.map((servicePrincipalId) => servicePrincipalId.trim()).some((servicePrincipalId) => servicePrincipalId === azureIdentity.oid);- if (!isServicePrincipalAllowed) throw new UnauthorizedError({ message: "Service principal not allowed" });+ if (!isServicePrincipalAllowed) {+ throw new UnauthorizedError({ message: `Service principal '${azureIdentity.oid}' not allowed` });+ }}const identityAccessToken = await identityAzureAuthDAL.transaction(async (tx) => {