Skip to content

Commit ffc11d1

Browse files
committed
ok genuinely where is this client_id going
1 parent 7983369 commit ffc11d1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

functions/src/oauth2-callback.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ export const oauth2Callback = onRequest({ cors: true }, async (req, res) => {
7575

7676
if (!tokenResponse.ok) {
7777
let errorText = await tokenResponse.text();
78-
let errorData = { error: errorText, body: params.toString() };
78+
let errorData = { error: errorText, body: params.toString(), client_id: clientId };
7979
res.status(400).json({
8080
error: 'Token exchange failed',
8181
details: errorData,

0 commit comments

Comments
 (0)