chore(encryptid): remove temporary OIDC debug logging

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Jeff Emmett 2026-03-10 13:40:31 -07:00
parent 6d0ebf2958
commit 2131d79f38
1 changed files with 0 additions and 3 deletions

View File

@ -5361,15 +5361,12 @@ app.post('/oidc/token', async (c) => {
// Consume auth code (atomic — marks used)
const authCode = await consumeOidcAuthCode(code);
if (!authCode) {
console.log('OIDC token: auth code not found or already used');
return c.json({ error: 'invalid_grant' }, 400);
}
if (authCode.clientId !== clientId) {
console.log(`OIDC token: clientId mismatch: code=${authCode.clientId} req=${clientId}`);
return c.json({ error: 'invalid_grant' }, 400);
}
if (authCode.redirectUri !== redirectUri) {
console.log(`OIDC token: redirectUri mismatch: code=${authCode.redirectUri} req=${redirectUri}`);
return c.json({ error: 'invalid_grant' }, 400);
}