Skip to content

armgit / macro

Public Imported from GitHub
0

Macro is a unified workspace for teams: email, chat, docs, tasks, agents, calls, and CRM — @-linked together with shared AI memory.

fix(auth): update auth to use gateway urls (#6200)

Will Hutchinson7fc032f78b78
diff --git a/apps/web/scripts/services.ts b/apps/web/scripts/services.ts
index af33fc5d6b..beba7a5411 100644
--- a/apps/web/scripts/services.ts
+++ b/apps/web/scripts/services.ts
@@ -34,8 +34,8 @@ export const services: Service[] = [
},
{
name: "auth-service",
- dev: "https://auth-service-dev.macro.com/api-doc/openapi.json",
- prod: "https://auth-service.macro.com/api-doc/openapi.json",
+ dev: "https://dev-gateway.macro.com/auth/api-doc/openapi.json",
+ prod: "https://gateway.macro.com/auth/api-doc/openapi.json",
local: "http://localhost:8080/api-doc/openapi.json",
output: "../src/lib/service-clients/service-auth/",
orvalKey: "authService",
diff --git a/apps/web/tauri/src-tauri/src/lib.rs b/apps/web/tauri/src-tauri/src/lib.rs
index ce6628e829..69e2a2a46a 100644
--- a/apps/web/tauri/src-tauri/src/lib.rs
+++ b/apps/web/tauri/src-tauri/src/lib.rs
@@ -51,8 +51,8 @@ impl AppEnvironment {
fn auth_service_url(self) -> &'static str {
match self {
- Self::Development => "https://auth-service-dev.macro.com/",
- Self::Production => "https://auth-service.macro.com/",
+ Self::Development => "https://dev-gateway.macro.com/auth/",
+ Self::Production => "https://gateway.macro.com/auth/",
}
}
diff --git a/services/ai-editing-worker/wrangler.toml b/services/ai-editing-worker/wrangler.toml
index 4fedb09278..e6614d5664 100644
--- a/services/ai-editing-worker/wrangler.toml
+++ b/services/ai-editing-worker/wrangler.toml
@@ -36,8 +36,8 @@ OTEL_EXPORTER_OTLP_ENDPOINT = "http://localhost:4318/v1/traces"
SYNC_WS_BASE = "wss://sync-service-prod2.macroverse.workers.dev"
DSS_BASE = "https://gateway.macro.com/dss"
SEARCH_SERVICE_BASE = "https://gateway.macro.com/dss"
-CONTACTS_SERVICE_BASE = "https://contacts.macro.com"
-AUTH_SERVICE_BASE = "https://auth-service.macro.com"
+CONTACTS_SERVICE_BASE = "https://gateway.macro.com/contacts"
+AUTH_SERVICE_BASE = "https://gateway.macro.com/auth"
[dev]
port = 8933
@@ -63,8 +63,8 @@ OTEL_EXPORTER_OTLP_ENDPOINT = "https://macro-prox-dev.macroverse.workers.dev/i/o
SYNC_WS_BASE = "wss://sync-service-dev3.macroverse.workers.dev"
DSS_BASE = "https://dev-gateway.macro.com/dss"
SEARCH_SERVICE_BASE = "https://dev-gateway.macro.com/dss"
-CONTACTS_SERVICE_BASE = "https://contacts-dev.macro.com"
-AUTH_SERVICE_BASE = "https://auth-service-dev.macro.com"
+CONTACTS_SERVICE_BASE = "https://dev-gateway.macro.com/contacts"
+AUTH_SERVICE_BASE = "https://dev-gateway.macro.com/auth"
[[env.dev.d1_databases]]
binding = "TRACES_DB"
@@ -79,8 +79,8 @@ ENVIRONMENT = "development"
SYNC_WS_BASE = "wss://sync-service-dev3.macroverse.workers.dev"
DSS_BASE = "https://dev-gateway.macro.com/dss"
SEARCH_SERVICE_BASE = "https://dev-gateway.macro.com/dss"
-CONTACTS_SERVICE_BASE = "https://contacts-dev.macro.com"
-AUTH_SERVICE_BASE = "https://auth-service-dev.macro.com"
+CONTACTS_SERVICE_BASE = "https://dev-gateway.macro.com/contacts"
+AUTH_SERVICE_BASE = "https://dev-gateway.macro.com/auth"
[[env.playground.d1_databases]]
binding = "TRACES_DB"
@@ -96,8 +96,8 @@ OTEL_EXPORTER_OTLP_ENDPOINT = "https://macro-prox-prod.macroverse.workers.dev/i/
SYNC_WS_BASE = "wss://sync-service-prod2.macroverse.workers.dev"
DSS_BASE = "https://gateway.macro.com/dss"
SEARCH_SERVICE_BASE = "https://gateway.macro.com/dss"
-CONTACTS_SERVICE_BASE = "https://contacts.macro.com"
-AUTH_SERVICE_BASE = "https://auth-service.macro.com"
+CONTACTS_SERVICE_BASE = "https://gateway.macro.com/contacts"
+AUTH_SERVICE_BASE = "https://gateway.macro.com/auth"
[[env.prod.d1_databases]]
binding = "TRACES_DB"