-
Notifications
You must be signed in to change notification settings - Fork 273
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Subgraph authentication: Make sure Request signing happens after Compression and APQ #3735
Merged
Merged
Changes from all commits
Commits
Show all changes
24 commits
Select commit
Hold shift + click to select a range
1565627
Subraph authentication: Make sure Request signing happens after Compr…
o0Ignition0o 939e538
wip
o0Ignition0o 438cad0
wip
o0Ignition0o d188922
wip
o0Ignition0o 2a5a1ba
wip
o0Ignition0o b9be42f
Merge branch 'dev' into igni/sigv4_http_level
o0Ignition0o 4ca15d1
wip
o0Ignition0o 93cffd2
use default headers for aws signature
o0Ignition0o 050345d
lint
o0Ignition0o f58376d
add a bit more logging
o0Ignition0o 8366bb2
wip
o0Ignition0o 6e406d5
wip
o0Ignition0o 0a6fce8
Merge branch 'dev' into igni/sigv4_http_level
o0Ignition0o e86b907
update tests
o0Ignition0o 5b0c32c
rename the structured log key on the subgraph service so it doesnt ge…
o0Ignition0o 789a932
Merge branch 'dev' into igni/sigv4_http_level
o0Ignition0o d26a97f
the integration tests caught a bug! the subgraph_name is now taken fr…
o0Ignition0o 7a2f750
changelog
o0Ignition0o 36f328a
Merge branch 'dev' into igni/sigv4_http_level
o0Ignition0o 80ccae9
appsync requires XAmzSha256 header
o0Ignition0o f13eecf
update docs with a list of services we have tested sigv4 with
o0Ignition0o a07895e
try to use an emoji in the docs
o0Ignition0o aca6ce3
fix nit
o0Ignition0o 698b655
remove extra dbg in test
o0Ignition0o File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
cc @nmoutschen @BlenderDude I had to change the signedheaders value because we decided to only use the ones that are mandatory (sigv4 is not happy with the connection header, and maybe others).
I'd like to be 100% sure it's not gonna be a problem eventually. What do you both think?