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
modified initialize org to check for auth providers
Sheen Capadngan681255187f76
diff --git a/backend/src/controllers/v3/signupController.ts b/backend/src/controllers/v3/signupController.tsindex b33a7fe0c2..06fac4a85a 100644--- a/backend/src/controllers/v3/signupController.ts+++ b/backend/src/controllers/v3/signupController.ts@@ -117,7 +117,7 @@ export const completeAccountSignup = async (req: Request, res: Response) => {if (!user)throw new Error("Failed to complete account for non-existent user"); // ensure user is non-null- if (user.authProvider !== AuthProvider.OKTA_SAML) {+ if (!user.authProviders?.includes(AuthProvider.OKTA_SAML)) {// initialize default organization and workspaceawait initializeDefaultOrg({organizationName,