Skip to content

🪢 Open source agent evals & observability: Trace, evaluate, and improve LLM applications with one open platform.

chore: Update enterprise sso error message (#10779)

Marc Klingen32c061e6f616
diff --git a/web/src/features/auth-credentials/server/signupApiHandler.ts b/web/src/features/auth-credentials/server/signupApiHandler.ts
index 63f7accdd7..abbac370fe 100644
--- a/web/src/features/auth-credentials/server/signupApiHandler.ts
+++ b/web/src/features/auth-credentials/server/signupApiHandler.ts
@@ -64,7 +64,7 @@ export async function signupApiHandler(
if (multiTenantSsoProvider) {
res.status(422).json({
message:
- "You must sign in via SSO for this domain. Enter your email on the sign-in page and press Continue.",
+ "You must sign in via Enterprise SSO for this domain. Enter your email on the sign-in page and press Continue.",
});
return;
}
diff --git a/web/src/server/auth.ts b/web/src/server/auth.ts
index e72a84f315..6c5443a396 100644
--- a/web/src/server/auth.ts
+++ b/web/src/server/auth.ts
@@ -752,7 +752,7 @@ export async function getAuthOptions(): Promise<NextAuthOptions> {
"Custom SSO provider enforced for domain, user signed in with other provider",
);
throw new Error(
- `You must sign in via SSO for this domain. Enter your email on the sign-in page and press Continue.`,
+ `You must sign in via Enterprise SSO for this domain. Enter your email on the sign-in page and press Continue.`,
);
}