From 8af286e99237d37325dd36063e1e86da692cbdb9 Mon Sep 17 00:00:00 2001 From: Jeff Emmett Date: Tue, 24 Feb 2026 22:20:08 -0800 Subject: [PATCH] refactor: migrate EncryptID URLs from encryptid.jeffemmett.com to auth.ridentity.online Part of the ridentity.online branding migration. The EncryptID auth server is now accessible at auth.ridentity.online (with the legacy encryptid.jeffemmett.com kept as a backward-compatible alias). Co-Authored-By: Claude Opus 4.6 --- src/lib/space-role.ts | 2 +- src/stores/auth.ts | 2 +- sync-server/verify-token.js | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/lib/space-role.ts b/src/lib/space-role.ts index 45bb5cc..3f80dc1 100644 --- a/src/lib/space-role.ts +++ b/src/lib/space-role.ts @@ -17,7 +17,7 @@ import { } from '@encryptid/sdk/types'; import { RMAPS_PERMISSIONS } from '@encryptid/sdk/types/modules'; -const ENCRYPTID_SERVER = process.env.NEXT_PUBLIC_ENCRYPTID_SERVER_URL || 'https://encryptid.jeffemmett.com'; +const ENCRYPTID_SERVER = process.env.NEXT_PUBLIC_ENCRYPTID_SERVER_URL || 'https://auth.ridentity.online'; // In-memory cache (5 minute TTL) const roleCache = new Map(); diff --git a/src/stores/auth.ts b/src/stores/auth.ts index 1355ac3..a661738 100644 --- a/src/stores/auth.ts +++ b/src/stores/auth.ts @@ -10,7 +10,7 @@ import { create } from 'zustand'; import { persist } from 'zustand/middleware'; import { EncryptIDClient } from '@encryptid/sdk/client'; -const ENCRYPTID_SERVER = process.env.NEXT_PUBLIC_ENCRYPTID_SERVER_URL || 'https://encryptid.jeffemmett.com'; +const ENCRYPTID_SERVER = process.env.NEXT_PUBLIC_ENCRYPTID_SERVER_URL || 'https://auth.ridentity.online'; const client = new EncryptIDClient(ENCRYPTID_SERVER); interface AuthState { diff --git a/sync-server/verify-token.js b/sync-server/verify-token.js index 2242f2c..4703167 100644 --- a/sync-server/verify-token.js +++ b/sync-server/verify-token.js @@ -5,7 +5,7 @@ * No dependencies required — uses Node.js built-in fetch. */ -const ENCRYPTID_SERVER_URL = process.env.ENCRYPTID_SERVER_URL || 'https://encryptid.jeffemmett.com'; +const ENCRYPTID_SERVER_URL = process.env.ENCRYPTID_SERVER_URL || 'https://auth.ridentity.online'; /** * Verify an EncryptID JWT token by calling the EncryptID server.