Skip to content

Commit

Permalink
Change auth header to be x-kagi-authorization
Browse files Browse the repository at this point in the history
Instead of using the standard Authorization header, we instead want to
use a custom one.
This is because the standard authorization header, when sent to some of
our subdomains (like help.kagi.com), actually break since its backed by
a GCS bucket which reads that header.

This should remove any conflicts, and we already support this header on
our side :)
  • Loading branch information
PixeLInc committed Nov 16, 2024
1 parent 5465c27 commit 5c95c70
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion shared/src/background.js
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ async function updateRules() {
type: 'modifyHeaders',
requestHeaders: [
{
header: 'Authorization',
header: 'X-Kagi-Authorization',
value: sessionToken,
operation: 'set',
},
Expand Down

0 comments on commit 5c95c70

Please sign in to comment.