feat(auth): add anonymous authentication mode#1766
feat(auth): add anonymous authentication mode#1766OhJuhun wants to merge 8 commits intohyperdxio:mainfrom
Conversation
Add a new authentication mode (IS_ANONYMOUS_AUTH_ENABLED) that skips login but uses real MongoDB user/team for data persistence. This is an intermediate mode between local (no auth, fake user) and full auth (email/password required). Backend: provision anonymous user/team at startup, inject into requests Frontend: skip login/register pages, hide auth-related UI elements Docker: add entry.local.anonymous.sh entry script Closes hyperdxio#1329
🦋 Changeset detectedLatest commit: 660569f The changes in this PR will be included in the next version bump. This PR includes changesets to release 3 packages
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
|
@OhJuhun is attempting to deploy a commit to the HyperDX Team on Vercel. A member of the Team first needs to authorize it. |
PR Review: feat(auth): add anonymous authentication mode
The implementation is clean and well-structured. The previous bot comment incorrectly flagged:
Remaining minor concerns:
✅ No critical issues found. The fast-fail on provisioning, |
Add a new authentication mode (IS_ANONYMOUS_AUTH_ENABLED) that skips login but uses real MongoDB user/team for data persistence. This is an intermediate mode between local (no auth, fake user) and full auth (email/password required).
Backend: provision anonymous user/team at startup, inject into requests
Frontend: skip login/register pages, hide auth-related UI elements
Docker: add entry.local.anonymous.sh entry script
Closes #1329