-
Notifications
You must be signed in to change notification settings - Fork 272
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
docs: Add a few security-related warnings to JWT auth docs (#3299)
Docs-only change, adding a couple of relevant warnings to the JWT auth docs. The "secure your subgraphs" bit is relevant outside of JWT and should probably be sprinkled in a few more places—but is extra important here (since, presumably, without JWT-in-router, subgraphs have their own auth). The warning about headers will be eventually resolved by #3224, but in the meantime it's worth calling out so no one makes a mistake. --------- Co-authored-by: Dylan Anthony <dbanty@users.noreply.github.com> Co-authored-by: Stephen Barlow <barlow.stephen+git@gmail.com>
- Loading branch information
1 parent
30c6c6d
commit 26e7394
Showing
2 changed files
with
9 additions
and
0 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,5 @@ | ||
### Add a few security-related warnings to JWT auth docs ([PR #3299](https://github.com/apollographql/router/pull/3299)) | ||
|
||
There are a couple potential security pitfalls when leveraging the router for JWT authentication. These are now documented in [the relevant section of the docs](https://www.apollographql.com/docs/router/configuration/authn-jwt). If you are currently using JWT authentication in the router, be sure to [secure your subgraphs](https://www.apollographql.com/docs/federation/building-supergraphs/subgraphs-overview#securing-your-subgraphs) and [use care when propagating headers](https://www.apollographql.com/docs/router/configuration/authn-jwt#example-forwarding-claims-to-subgraphs). | ||
|
||
By [@dbanty](https://github.com/dbanty) in https://github.com/apollographql/router/pull/3299 |
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