apollographql / apollographql/federation

Apollo gateway is not returning cookies in the browser

Open
#403 0 comments 2 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
725
Forks
276
Avg merge
1h 47m
Merged PRs (30d)
1

Description

When I am using a single server, in the mutation I am able to get the cookies in the browser, but the same service when I am connecting using apollo gateway, I am not getting any cookies(access and refresh token) in my broswer.

Is this expected behavior? I am using same-origin flag in both the places, if I hit the service directly, it does give response in the browser.

Please help

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the reported comparison between a single server and Apollo gateway in a browser, using the same-origin flag in both cases. Inspect the gateway's handling of the response cookies and confirm whether access and refresh cookies are returned through the gateway; the issue provides no files or tests to target.

Written by the indexing model from the issue text.

Assessment

Tech stack
graphql, typescript
Domain
api, authentication, backend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.