From cc84157149af747faea2df2ae1e619c5635d712c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marcin=20Szyma=C5=84ski?= Date: Thu, 12 Feb 2026 22:04:32 +0000 Subject: [PATCH] support RXResume config URL config in onboarding (#159) * support RXResume config URL config in onboarding * update documentation and fix linting --- documentation/self-hosting.md | 5 +++++ orchestrator/src/server/api/routes/onboarding.ts | 7 ++++++- 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/documentation/self-hosting.md b/documentation/self-hosting.md index a343a9e..fa42ed4 100644 --- a/documentation/self-hosting.md +++ b/documentation/self-hosting.md @@ -129,3 +129,8 @@ git pull docker compose pull docker compose up -d ``` + +## Self-hosted Reactive Resume + +If you are also self-hosting Reactive Resume, you should configure the url +by setting `RXRESUME_URL` to your instance (e.g. `http://rxresume.local.net`). diff --git a/orchestrator/src/server/api/routes/onboarding.ts b/orchestrator/src/server/api/routes/onboarding.ts index baa1020..e4db9be 100644 --- a/orchestrator/src/server/api/routes/onboarding.ts +++ b/orchestrator/src/server/api/routes/onboarding.ts @@ -95,12 +95,17 @@ async function validateRxresume( ): Promise { const rxEmail = email?.trim() || process.env.RXRESUME_EMAIL || ""; const rxPassword = password?.trim() || process.env.RXRESUME_PASSWORD || ""; + const rxUrl = process.env.RXRESUME_URL || "https://v4.rxresu.me"; if (!rxEmail || !rxPassword) { return { valid: false, message: "RxResume credentials are missing." }; } - const result = await RxResumeClient.verifyCredentials(rxEmail, rxPassword); + const result = await RxResumeClient.verifyCredentials( + rxEmail, + rxPassword, + rxUrl, + ); if (result.ok) { return { valid: true, message: null };