fix: prevent OIDC token data leaking to logs, update audit findings
- Redact OIDC token exchange error logs to only include HTTP status - Add additional findings from exhaustive server security scan to AUDIT_FINDINGS.md https://claude.ai/code/session_01SoQKcF5Rz9Y8Nzo4PzkxY8
This commit is contained in:
@@ -191,7 +191,7 @@ router.get('/callback', async (req: Request, res: Response) => {
|
||||
|
||||
const tokenData = await tokenRes.json() as OidcTokenResponse;
|
||||
if (!tokenRes.ok || !tokenData.access_token) {
|
||||
console.error('[OIDC] Token exchange failed:', tokenData);
|
||||
console.error('[OIDC] Token exchange failed: status', tokenRes.status);
|
||||
return res.redirect(frontendUrl('/login?oidc_error=token_failed'));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user