Skip to content

docs: add proxy configuration security note to access controls - #69

Merged
steveiliop56 merged 1 commit into
tinyauthapp:mainfrom
e1024x:docs/proxy-security-note
Mar 11, 2026
Merged

docs: add proxy configuration security note to access controls#69
steveiliop56 merged 1 commit into
tinyauthapp:mainfrom
e1024x:docs/proxy-security-note

Conversation

@e1024x

@e1024x e1024x commented Mar 11, 2026

Copy link
Copy Markdown
Contributor

Adds a caution block to the access controls page noting that per-app ACLs depend on the reverse proxy correctly setting X-Forwarded-Host. If the proxy passes through client-supplied values or tinyauth is directly reachable, users can spoof the header to a non-matching domain and bypass app-level restrictions.

The note covers what to check for Traefik, Caddy, and nginx, and recommends keeping tinyauth off the public network.

Summary by CodeRabbit

  • Documentation
    • Updated access controls guide with security best practices for reverse proxy configuration, including guidance on X-Forwarded-Host trust and preventing spoofing attacks.

Add a caution block explaining that misconfigured reverse proxies
(or direct access to tinyauth) can allow users to bypass per-app
ACLs by spoofing the X-Forwarded-Host header.
@coderabbitai

coderabbitai Bot commented Mar 11, 2026

Copy link
Copy Markdown
Contributor

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: 91746adb-79ba-4c9c-bc1f-6b13a32ab4e0

📥 Commits

Reviewing files that changed from the base of the PR and between 985ec45 and 6d5fd86.

📒 Files selected for processing (1)
  • src/content/docs/docs/guides/access-controls.mdx

📝 Walkthrough

Walkthrough

Documentation update to the access controls guide adding a caution block about X-Forwarded-Host proxy trust considerations and reverse proxy configuration guidance (nginx) to prevent spoofing, with emphasis that tinyauth should not be directly reachable.

Changes

Cohort / File(s) Summary
Documentation Update
src/content/docs/docs/guides/access-controls.mdx
Added caution block regarding proxy trust considerations for X-Forwarded-Host, reverse proxy configuration (nginx), and security guidance that tinyauth should not be directly reachable.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~2 minutes

Poem

🐰 A cautious note in docs we share,
Of proxies trusted with utmost care,
X-Forwarded-Host gets its due mention,
Nginx guards with noble intention,
Keep tinyauth tucked away,
Safe behind walls, come what may! ✨

🚥 Pre-merge checks | ✅ 3
✅ Passed checks (3 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title accurately and concisely summarizes the main change: adding a security-focused documentation note about proxy configuration to the access controls guide.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment

Warning

Review ran into problems

🔥 Problems

Git: Failed to clone repository. Please run the @coderabbitai full review command to re-trigger a full review. If the issue persists, set path_filters to include or exclude specific files.


Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@steveiliop56
steveiliop56 merged commit 6248f69 into tinyauthapp:main Mar 11, 2026
1 check passed
@coderabbitai coderabbitai Bot mentioned this pull request Jul 15, 2026
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.

2 participants