fix: remove console.log that leaks API key in token exchange endpoint (#2589)

Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Hesham Mohamed 2026-04-09 15:48:14 +02:00 committed by GitHub
parent a2dae4b60c
commit b43e9ba648
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -55,8 +55,6 @@ export async function POST(request: NextRequest) {
)
}
console.log("Token exchange successful, access_token length:", result.accessToken?.length)
console.log("API key being returned:", result.accessToken)
console.log("=== Token Exchange Request Completed Successfully ===")
return NextResponse.json({