fix(auth): Review-Findings M1, M2, S1, S2
CI / App (npm ci + Build, ESLint, Stylelint, Jest) (pull_request) Successful in 1m42s

- M1: Start bricht ab, wenn oidc+naturalcrit aktiv, nicht lokal und Upstream-secret Standard/leer
- M2: README.md wieder mit CRLF (Diff nur +4)
- S1: /auth/oidc/login zeigt interne Fehlertexte nicht mehr an
- S2: http://-Issuer nur bei http://-HB_PUBLIC_URL

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
dev-bot BotandClaude Sonnet 5.5 committed 2026-11-25 09:27:50 +00:00
1 parent fb9f4b0345
commit 66bb91cb3e
8 files changed
+224 -184

No files matched your search

+1 -1
View File
@@ -5,7 +5,7 @@ import { readSession, sealTx, openTx, safeRedirect, SESSION_COOKIE } from './ses
const config = readAuthConfig({
HB_PUBLIC_URL : 'http://localhost:8000', HB_OIDC_ISSUER : 'http://idp', HB_OIDC_CLIENT_ID : 'id',
HB_OIDC_CLIENT_SECRET : 's', HB_SESSION_SECRET : 'a'.repeat(32)
});
}, { upstreamSecret: 'eigenes-secret' });
const req = (token)=>({ cookies: { [SESSION_COOKIE]: token } });
const payload = { v: 1, uid: 'u', username: 'bob', iss: 'i', sub: 's' };