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 <noreply@anthropic.com>
This commit is contained in:
Jeff Emmett 2026-02-24 22:20:08 -08:00
parent 0de217d5f5
commit 8af286e992
3 changed files with 3 additions and 3 deletions

View File

@ -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<string, { role: ResolvedRole; expires: number }>();

View File

@ -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 {

View File

@ -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.