chore(encryptid): remove temporary OIDC debug logging
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
6d0ebf2958
commit
2131d79f38
|
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue