Skip to content

Commit 655d784

Browse files
Jaimeclaude
authored andcommitted
feat: add X-In-App-Browser header to OAuth token POST request
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent 243155c commit 655d784

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

modules/go5auth/lib/Auth/Source/LoggedUser.php

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,10 @@ private function getTokenInfoFromCode($code, $hostname)
107107
'client_id' => WEB_CLIENT_ID,
108108
'client_secret' => WEB_CLIENT_SECRET,
109109
'code' => $code,
110-
]
110+
],
111+
'headers' => [
112+
'X-In-App-Browser' => 1,
113+
],
111114
]);
112115

113116
return json_decode($codeResponse->getBody()->getContents());

0 commit comments

Comments
 (0)