Skip to content

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

misc: added message for bypass

Sheen Capadngan089a7e880b15
diff --git a/backend/src/ee/services/oidc/oidc-config-service.ts b/backend/src/ee/services/oidc/oidc-config-service.ts
index 4e0e7ba1ed..45a58bd1ea 100644
--- a/backend/src/ee/services/oidc/oidc-config-service.ts
+++ b/backend/src/ee/services/oidc/oidc-config-service.ts
@@ -425,7 +425,8 @@ export const oidcConfigServiceFactory = ({
const isSmtpConnected = await smtpService.verify();
if (!isSmtpConnected) {
throw new BadRequestError({
- message: "Cannot enable OIDC when there are issues with the instance's SMTP configuration"
+ message:
+ "Cannot enable OIDC when there are issues with the instance's SMTP configuration. Bypass this by turning on trust for OIDC emails in the server admin console."
});
}
}