Skip to content

Infisical is the open-source platform for securing secrets, certificates, access, and AI Agents.

Merge branch 'main' of https://github.com/Infisical/infisical into feat/suborg-scope-support

Piyush Guptafc9ded7d57ab
diff --cc backend/src/services/identity-access-token/identity-access-token-dal.ts
index c6ae78fe1f,2721596d25..2a67866d3a
--- a/backend/src/services/identity-access-token/identity-access-token-dal.ts
+++ b/backend/src/services/identity-access-token/identity-access-token-dal.ts
@@@ -18,8 -18,8 +18,9 @@@ export const identityAccessTokenDALFact
.where(filter)
.join(TableName.Identity, `${TableName.Identity}.id`, `${TableName.IdentityAccessToken}.identityId`)
.select(selectAllTableCols(TableName.IdentityAccessToken))
- .select(db.ref("orgId").withSchema(TableName.Identity).as("identityScopeOrgId"))
+ .select(db.ref("orgId").withSchema(TableName.Identity).as("identityOrgId"))
+ .select(db.ref("subOrganizationId").withSchema(TableName.IdentityAccessToken).as("subOrganizationId"))
+ .select(db.ref("name").withSchema(TableName.Identity).as("identityName"))
.first();
return doc;