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
Fix: Permission error page displayed after user sign up if organization enforces SAML auth
Daniel Hougaard7626dbb96eb2
diff --git a/backend/src/services/auth/auth-signup-service.ts b/backend/src/services/auth/auth-signup-service.tsindex be7f5777db..528cb44fab 100644--- a/backend/src/services/auth/auth-signup-service.ts+++ b/backend/src/services/auth/auth-signup-service.ts@@ -231,7 +231,7 @@ export const authSignupServiceFactory = ({const accessToken = jwt.sign({- authMethod: AuthMethod.EMAIL,+ authMethod: authMethod || AuthMethod.EMAIL,authTokenType: AuthTokenType.ACCESS_TOKEN,userId: updateduser.info.id,tokenVersionId: tokenSession.id,@@ -244,7 +244,7 @@ export const authSignupServiceFactory = ({const refreshToken = jwt.sign({- authMethod: AuthMethod.EMAIL,+ authMethod: authMethod || AuthMethod.EMAIL,authTokenType: AuthTokenType.REFRESH_TOKEN,userId: updateduser.info.id,tokenVersionId: tokenSession.id,