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
feat: applied greppy changes
=c50c6f63b375
diff --git a/backend/src/ee/routes/v1/scim-router.ts b/backend/src/ee/routes/v1/scim-router.tsindex aebdcf9db0..04f8eaaa23 100644--- a/backend/src/ee/routes/v1/scim-router.ts+++ b/backend/src/ee/routes/v1/scim-router.ts@@ -184,6 +184,7 @@ export const registerScimRouter = async (server: FastifyZodProvider) => {config: {rateLimit: readLimit},+ onRequest: verifyAuth([AuthMode.SCIM_TOKEN]),schema: {response: {200: z.object({diff --git a/backend/src/services/org/org-dal.ts b/backend/src/services/org/org-dal.tsindex 5b54d85a07..2c5ba84f2b 100644--- a/backend/src/services/org/org-dal.ts+++ b/backend/src/services/org/org-dal.ts@@ -845,7 +845,7 @@ export const orgDALFactory = (db: TDbClient) => {> => {try {// Determine alias type from org auth method (default to saml for backwards compatibility)- const aliasType = orgAuthMethod === "oidc" ? "oidc" : "saml";+ const aliasType = orgAuthMethod === OrgAuthMethod.OIDC ? OrgAuthMethod.OIDC : OrgAuthMethod.SAML;// Subquery to get only the latest alias per user for the org's auth methodconst latestAliasSubquery = (tx || db.replicaNode())(TableName.UserAliases)