Skip to content

RFC: CSRF Prevention #321

@dotansimha

Description

@dotansimha

Both Hive Gateway and Apollo Router follow the similar approaches on CSRF

The only difference is the default. By default, Hive Gateway doesn't have it, and Apollo Router has it in production mode.

The configuration is very simple. It is a list of the headers;

csrf:
   headers:
     - x-gateway-csrf

References

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions