Harden /docs auth: HTTP Basic with env-configured credentials
Replaces the hardcoded plaintext admin/stax123 cookie-login flow with standard HTTP Basic Auth gating /docs and /openapi.json, credentials read from DOCS_USERNAME/DOCS_PASSWORD env vars (secrets.compare_digest, no fixed session-token bypass). The actual API routes' existing auth (used by the mobile app) is untouched - this only protects the interactive documentation surface. Co-Authored-By:Claude Sonnet 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01BCxXmJVvDFJVHTUi4QgNzi
Showing
Please
register
or
sign in
to comment