From 0d3cee5afcbaa59d977d2f5d40f6a1fb2aa5a984 Mon Sep 17 00:00:00 2001 From: Jeff Emmett Date: Tue, 24 Feb 2026 22:20:12 -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 --- config/encryptid_auth.py | 4 ++-- config/settings.py | 2 +- portal/static/portal/encryptid.browser.js | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/config/encryptid_auth.py b/config/encryptid_auth.py index b8870f9..39ac15c 100644 --- a/config/encryptid_auth.py +++ b/config/encryptid_auth.py @@ -12,7 +12,7 @@ Usage with Django REST Framework: ] } - ENCRYPTID_SERVER_URL = 'https://encryptid.jeffemmett.com' + ENCRYPTID_SERVER_URL = 'https://auth.ridentity.online' ENCRYPTID_JWT_SECRET = None # Set for local verification; None = remote verify Usage standalone (Django middleware): @@ -109,7 +109,7 @@ def verify_encryptid_token(token: str) -> Optional[dict]: return verify_jwt_local(token, secret) server_url = getattr( - settings, 'ENCRYPTID_SERVER_URL', 'https://encryptid.jeffemmett.com' + settings, 'ENCRYPTID_SERVER_URL', 'https://auth.ridentity.online' ) return verify_jwt_remote(token, server_url) diff --git a/config/settings.py b/config/settings.py index 1ae1145..1b5301d 100644 --- a/config/settings.py +++ b/config/settings.py @@ -150,7 +150,7 @@ CELERY_BEAT_SCHEDULE = { SHARE_BASE_URL = os.environ.get('SHARE_BASE_URL', 'https://rfiles.online') # EncryptID (passkey auth) -ENCRYPTID_SERVER_URL = os.environ.get('ENCRYPTID_SERVER_URL', 'https://encryptid.jeffemmett.com') +ENCRYPTID_SERVER_URL = os.environ.get('ENCRYPTID_SERVER_URL', 'https://auth.ridentity.online') ENCRYPTID_JWT_SECRET = os.environ.get('ENCRYPTID_JWT_SECRET', None) # Set for local JWT verification # Security (production) diff --git a/portal/static/portal/encryptid.browser.js b/portal/static/portal/encryptid.browser.js index d1dee06..ae61bda 100644 --- a/portal/static/portal/encryptid.browser.js +++ b/portal/static/portal/encryptid.browser.js @@ -1,3 +1,3 @@ /* EncryptID Browser SDK - placeholder - * TODO: Replace with actual SDK from https://encryptid.jeffemmett.com + * TODO: Replace with actual SDK from https://auth.ridentity.online */