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.