Skip to content

docs(auth): document X-Tinyauth-Authorization header for Basic-auth apps - #135

Open
manysuq wants to merge 1 commit into
tinyauthapp:mainfrom
manysuq:docs-x-tinyauth-authorization
Open

manysuq wants to merge 1 commit into
tinyauthapp:mainfrom
manysuq:docs-x-tinyauth-authorization

Conversation

@manysuq

@manysuq manysuq commented Sep 19, 2026

Copy link
Copy Markdown

Follows up on tinyauthapp/tinyauth#1126, which adds the X-Tinyauth-Authorization header for apps that use Authorization with the Basic scheme for their own auth.

Documents the new header in the Basic Authentication reference: same Basic base64(username:password) format, X-Tinyauth-Authorization takes precedence so the upstream app keeps its original Authorization, and a malformed header returns 401 instead of falling back to Authorization.

Verified against the PR head (middleware in internal/middleware/context_middleware.go): X-Tinyauth-Authorization is checked first and returns on auth, while the regular Authorization flow is preserved.

@coderabbitai

coderabbitai Bot commented Sep 19, 2026

Copy link
Copy Markdown
Contributor

Important

  • 🔍 Trigger review

This repository does not receive automatic reviews because it has fewer than 10 stars.

⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Advanced

Run ID: f7e02446-6140-4567-9ba5-ac7af11c5c8b


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.

This branch has not been deployed

No deployments
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