-
Notifications
You must be signed in to change notification settings - Fork 273
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Subgraph authentication: Make sure Request signing happens after Comp…
…ression and APQ (#3735) Fix #3608 The router now adds SigningParams to the private context, which the subgraph service can use to sign http calls before the HTTP fetch is made (for websocket connection and regular http calls)
- Loading branch information
1 parent
6015251
commit 3806cff
Showing
5 changed files
with
231 additions
and
82 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
### Subgraph authentication: Make sure Request signing happens after Compression and APQ ([Issue #3608](https://github.com/apollographql/router/issues/3608)) | ||
|
||
[Subgraph authentication](https://www.apollographql.com/docs/router/configuration/authn-subgraph) is available since router v1.27.0. | ||
|
||
Unfortunately this first version didn't work well with features that operate with the SubgraphService, for example: | ||
- Subgraph APQ | ||
- Subgraph HTTP compression | ||
- Custom plugins that operate on the Subgraph level, written either via coprocessors, in rhai, or native. | ||
|
||
The router will now sign subgraph requests just before they are sent to subgraphs. | ||
|
||
By [@o0Ignition0o](https://github.com/o0Ignition0o) in https://github.com/apollographql/router/pull/3735 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.