From 089a7e880b15589c20aad0297ae0cdd8902fd2dd Mon Sep 17 00:00:00 2001 From: Sheen Capadngan Date: Mon, 18 Nov 2024 17:29:01 +0800 Subject: [PATCH] misc: added message for bypass --- backend/src/ee/services/oidc/oidc-config-service.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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." }); } }