Commit Graph

4 Commits

Author SHA1 Message Date
Jeff Emmett 0d3cee5afc 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>
2026-02-24 22:20:12 -08:00
Jeff Emmett f26850ded2 fix: add missing check_space_access function to encryptid_auth
Also imported by portal/views_shared_space.py but never defined,
causing a second ImportError after the SpacePermission fix.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-15 15:03:28 -07:00
Jeff Emmett 2b20b23d0b fix: add missing SpacePermission class to encryptid_auth
The SpacePermission DRF permission class was imported in files/views.py
but never defined, causing an ImportError that crash-looped the app.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-15 15:00:33 -07:00
Jeff Emmett e8ad0f7f31 feat: add EncryptID passkey auth backend for DRF
Add EncryptID as a DRF authentication class:
- Add encryptid_auth.py with EncryptIDAuthentication backend
- Verifies Bearer tokens against EncryptID server
- Auto-creates Django User from DID claims
- Add ENCRYPTID_SERVER_URL and ENCRYPTID_JWT_SECRET settings

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-13 07:34:34 -07:00