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
@@ -116,7 +116,7 @@ export default async function createApp(vite) {
});
// Fork: OIDC-Login (ADR 0001); ersetzt req.account nach der Upstream-Middleware
const authConfig = readAuthConfig();
const authConfig = readAuthConfig(process.env, { upstreamSecret: config.get('secret'), isLocal: isLocalEnvironment });
app.use(accountMiddleware(authConfig));
app.use(createAuthRouter(authConfig, {
getUsers : ()=>getStorage().users,