Skip to content

Access cookies in WebGraphQlInterceptor #626

@ddewaele

Description

@ddewaele

We would like to use a WebGraphQlInterceptor to access a cookie from the underlying http request but we didn't find a clean way to access the cookies.

The interceptor gives us a WebGraphQlRequest where we can access HttpRequest level elements like headers, uri but no clear way to access the cookies.

We can access the cookies using the Cookie HTTP header but that involves some parsing logic that we would like to avoid.

Is there a way to access the actual underlying HttpRequest so we can access the cookies directly ?

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions