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
check if identity of the org is not equal to slug
adilsonf062006aa5dc
diff --git a/backend/src/services/identity-ua/identity-ua-service.ts b/backend/src/services/identity-ua/identity-ua-service.tsindex ec9b4719e4..11c2038b6f 100644--- a/backend/src/services/identity-ua/identity-ua-service.ts+++ b/backend/src/services/identity-ua/identity-ua-service.ts@@ -267,7 +267,7 @@ export const identityUaServiceFactory = ({accessTokenMaxTTL: 1000000000};- if (organizationSlug) {+ if (organizationSlug && org.slug !== organizationSlug) {if (!isSubOrgIdentity) {const subOrg = await orgDAL.findOne({ rootOrgId: org.id, slug: organizationSlug });