Skip to content

feat: add org admin authentication - #32

Merged
shreyanshjain7174 merged 1 commit into
mainfrom
feat/org-admin-auth
Sep 1, 2026
Merged

shreyanshjain7174 merged 1 commit into
mainfrom
feat/org-admin-auth

Conversation

@shreyanshjain7174

Copy link
Copy Markdown
Contributor

Summary

  • Add organization and admin persistence with bcrypt password hashes.
  • Add optional first-admin bootstrap for self-hosted instances.
  • Add encrypted, purpose-separated admin sessions with login and logout routes.
  • Preserve the existing X-Admin-Secret path.
  • Require a same-origin custom header for session-authenticated writes.

Validation

  • docker compose config --quiet
  • go build ./...
  • go test ./...
  • Security review covered CSRF, session key separation, rate limits, bootstrap races, and password length.

Signed-off-by: Shreyansh Sancheti <43677304+shreyanshjain7174@users.noreply.github.com>
@shreyanshjain7174
shreyanshjain7174 merged commit 82e1b8c into main Sep 1, 2026
1 of 3 checks passed
@shreyanshjain7174
shreyanshjain7174 deleted the feat/org-admin-auth branch September 1, 2026 08:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant