Repository navigation
docs: auth email, rate limits, and SMTP self-host setup - #31
Draft
cursor[bot] wants to merge 1 commit into
Draft
cursor[bot] wants to merge 1 commit into
cursor[bot] wants to merge 1 commit into
Conversation
Align architecture.md, self-host.md, and README with merged Better Auth work (verification, password reset, origin hardening, managed-AI limits). Co-Authored-By: Cursor <noreply@cursor.com> Co-authored-by: drferdiiskandar <drferdiiskandar@sentrahai.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
This was referenced Oct 9, 2026
This was referenced Oct 11, 2026
This branch was successfully deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Documentation-only PR to catch up operator and architecture docs with merged auth work (#12): SMTP-backed verification and password reset, explicit Better Auth rate limits, managed-AI IP throttling, and production origin rules.
Docs added/updated
docs/architecture.mddocs/self-host.mdREADME.mdSMTP_URL/SMTP_FROMfrom VAPID in the configuration tabledocs/README.mdCodepaths covered
packages/auth/src/index.ts— verification, reset, rate limit pinning,trustedOriginspackages/auth/src/auth-emails.ts— SMTP degradation and copypackages/adapters/src/smtp-email.ts—SMTP_URL/SMTP_FROMapps/api/src/app.ts—isTrustedOrigin, email sender wiringapps/api/src/managed-ai.ts— 60 req/min IP limit on/v1/managed-ai/responsesapps/web/src/pages/ResetPassword.tsx— reset UI (referenced, not duplicated)Knowledge gaps addressed
SMTP_FROM.Out of scope
docs/plans/user-journey-audit-2026-09-10.mdremains the detailed audit; architecture links to it for pendingemailVerifiedgates.apps/docs) changes this run.